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
|
||||
#
|
||||
#
|
||||
compile '/feed.xml' do
|
||||
compile '/*.xml' do
|
||||
filter :erb
|
||||
end
|
||||
|
||||
|
@ -88,9 +88,6 @@ end
|
|||
# Don't create specific project pages for now
|
||||
route '/projects/*' do; end
|
||||
|
||||
#
|
||||
# GENERIC ERB PAGES
|
||||
#
|
||||
compile '/*_search.json' do
|
||||
filter :erb
|
||||
end
|
||||
|
@ -99,6 +96,9 @@ compile '/**/*.ics' do
|
|||
filter :erb
|
||||
end
|
||||
|
||||
#
|
||||
# GENERIC ERB PAGES
|
||||
#
|
||||
compile '/**/*.erb' do
|
||||
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::Text
|
||||
include Nanoc::Helpers::ChildParent
|
||||
include Nanoc::Helpers::XMLSitemap
|
||||
|
||||
include EnvironmentHelper
|
||||
include ArchiveHelper
|
||||
|
|
Loading…
Reference in a new issue