Hello there
I have a blog running with the following setting
activate :blog do |blog|
blog.name = "faq";
# This will add a prefix to all links, template references and source paths
blog.prefix = "faqs"
blog.permalink = "{category}"
blog.taglink = "/{tag}/index.html"
#Enable pagination
blog.paginate = true
blog.per_page = 5
blog.page_link = "page-{num}.html"
blog.tag_template = "faqs/tag.html"
#blog.calendar_template = "calendar.html"
end
I’d like to get the page-2.html to be created as a page and not as a directory. However, for my project I required also the directory_index param.
I know that directory_index option can be disabled at page level, but although the following code I keep getting those pages generated.
page "*page*", :directory_index => false
As far as I’ve seen none of the page generated from the blog module seems to react to the above page directive.
Do you know how I can achieve my goal?
Thanks