cleaning up sorta

This commit is contained in:
Lorin Werthen 2016-08-04 20:57:25 +02:00
parent 6e945579e9
commit 7fc1bf0049
No known key found for this signature in database
GPG key ID: F11FFC921E0E08E0
6 changed files with 6 additions and 16 deletions

18
Rules
View file

@ -40,8 +40,9 @@ end
# COMPILATION
#
#
compile '/feed.*' do
compile '/feed.xml' do
filter :erb
write '/feed.xml'
end
#
@ -91,11 +92,11 @@ end
#
# GENERIC ERB PAGES
#
compile '/tipuesearch_content.js.erb' do
compile '/tipuesearch_content.js' do
filter :erb
end
compile '/**/*.ics.erb' do
compile '/**/*.ics' do
filter :erb
end
@ -128,15 +129,9 @@ passthrough '/assets/images/*.{png}'
#
#
route '/feed.*' do
'/feed.xml'
end
#
# HOMEPAGE
#
route '/tipuesearch_content.js.erb' do
'/tipuesearch_content.js'
end
#
# ASSETS
#
@ -148,11 +143,6 @@ route '/assets/scripts/**/*' do
"#{item.identifier.without_ext}.js"
end
# TEXT
route '/*.ics.erb' do
item.identifier.without_ext
end
# POSTS
route '/posts/**/*', rep: :ical do
"#{item.identifier.without_ext}.ics"

View file

@ -31,7 +31,7 @@ title: About
Naam
</th>
<th>
</th>
</thead>
<tbody>

View file

@ -13,7 +13,7 @@ string_pattern_type: glob
# 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
# 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
# can be an absolute path starting with a slash, but it can also be path