cleaning up sorta
This commit is contained in:
parent
6e945579e9
commit
7fc1bf0049
6 changed files with 6 additions and 16 deletions
18
Rules
18
Rules
|
@ -40,8 +40,9 @@ end
|
||||||
# COMPILATION
|
# COMPILATION
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
compile '/feed.*' do
|
compile '/feed.xml' do
|
||||||
filter :erb
|
filter :erb
|
||||||
|
write '/feed.xml'
|
||||||
end
|
end
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -91,11 +92,11 @@ end
|
||||||
#
|
#
|
||||||
# GENERIC ERB PAGES
|
# GENERIC ERB PAGES
|
||||||
#
|
#
|
||||||
compile '/tipuesearch_content.js.erb' do
|
compile '/tipuesearch_content.js' do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
compile '/**/*.ics.erb' do
|
compile '/**/*.ics' do
|
||||||
filter :erb
|
filter :erb
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -128,15 +129,9 @@ passthrough '/assets/images/*.{png}'
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
route '/feed.*' do
|
|
||||||
'/feed.xml'
|
|
||||||
end
|
|
||||||
#
|
#
|
||||||
# HOMEPAGE
|
# HOMEPAGE
|
||||||
#
|
#
|
||||||
route '/tipuesearch_content.js.erb' do
|
|
||||||
'/tipuesearch_content.js'
|
|
||||||
end
|
|
||||||
#
|
#
|
||||||
# ASSETS
|
# ASSETS
|
||||||
#
|
#
|
||||||
|
@ -148,11 +143,6 @@ route '/assets/scripts/**/*' do
|
||||||
"#{item.identifier.without_ext}.js"
|
"#{item.identifier.without_ext}.js"
|
||||||
end
|
end
|
||||||
|
|
||||||
# TEXT
|
|
||||||
route '/*.ics.erb' do
|
|
||||||
item.identifier.without_ext
|
|
||||||
end
|
|
||||||
|
|
||||||
# POSTS
|
# POSTS
|
||||||
route '/posts/**/*', rep: :ical do
|
route '/posts/**/*', rep: :ical do
|
||||||
"#{item.identifier.without_ext}.ics"
|
"#{item.identifier.without_ext}.ics"
|
||||||
|
|
|
@ -13,7 +13,7 @@ string_pattern_type: glob
|
||||||
# A list of file extensions that Nanoc will consider to be textual rather than
|
# A list of file extensions that Nanoc will consider to be textual rather than
|
||||||
# binary. If an item with an extension not in this list is found, the file
|
# binary. If an item with an extension not in this list is found, the file
|
||||||
# will be considered as binary.
|
# will be considered as binary.
|
||||||
text_extensions: [ 'adoc', 'asciidoc', 'atom', 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss', 'slim', 'txt', 'xhtml', 'xml' ]
|
text_extensions: [ 'adoc', 'asciidoc', 'atom', 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'ics', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss', 'slim', 'txt', 'xhtml', 'xml' ]
|
||||||
|
|
||||||
# The path to the directory where all generated files will be written to. This
|
# The path to the directory where all generated files will be written to. This
|
||||||
# can be an absolute path starting with a slash, but it can also be path
|
# can be an absolute path starting with a slash, but it can also be path
|
||||||
|
|
Loading…
Reference in a new issue