lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.rc.17 vs lib/octopress-ink/assets/page.rb in octopress-ink-1.0.0.rc.18
- old
+ new
@@ -19,10 +19,10 @@
end
# Add page to Jekyll pages if no other page has a conflicting destination
#
def add
- if page.url && !Octopress.config['docs_mode'] && !find_page(page)
+ if page.url && !find_page(page)
Octopress.site.pages << page
plugin.config['permalinks'] ||= {}
plugin.config['permalinks'][File.basename(filename, '.*')] ||= page.url
end
end