add sitemap
This commit is contained in:
parent
6691487436
commit
dda79dd3c0
3 changed files with 6 additions and 4 deletions
8
Rules
8
Rules
|
@ -25,7 +25,7 @@ end
|
||||||
# COMPILATION
|
# COMPILATION
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
compile '/feed.xml' do
|
compile '/*.xml' do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -88,9 +88,6 @@ end
|
||||||
# Don't create specific project pages for now
|
# Don't create specific project pages for now
|
||||||
route '/projects/*' do; end
|
route '/projects/*' do; end
|
||||||
|
|
||||||
#
|
|
||||||
# GENERIC ERB PAGES
|
|
||||||
#
|
|
||||||
compile '/*_search.json' do
|
compile '/*_search.json' do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
@ -99,6 +96,9 @@ compile '/**/*.ics' do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
|
#
|
||||||
|
# GENERIC ERB PAGES
|
||||||
|
#
|
||||||
compile '/**/*.erb' do
|
compile '/**/*.erb' do
|
||||||
filter :erb
|
filter :erb
|
||||||
|
|
||||||
|
|
1
content/sitemap.xml
Normal file
1
content/sitemap.xml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<%= xml_sitemap %>
|
|
@ -4,6 +4,7 @@ include Nanoc::Helpers::LinkTo
|
||||||
include Nanoc::Helpers::Rendering
|
include Nanoc::Helpers::Rendering
|
||||||
include Nanoc::Helpers::Text
|
include Nanoc::Helpers::Text
|
||||||
include Nanoc::Helpers::ChildParent
|
include Nanoc::Helpers::ChildParent
|
||||||
|
include Nanoc::Helpers::XMLSitemap
|
||||||
|
|
||||||
include EnvironmentHelper
|
include EnvironmentHelper
|
||||||
include ArchiveHelper
|
include ArchiveHelper
|
||||||
|
|
Loading…
Reference in a new issue