Hello,
So by default Middleman blog will generate years/months/days pages - I am looking for a way to disable generation of month
and day
pages?
Hello,
So by default Middleman blog will generate years/months/days pages - I am looking for a way to disable generation of month
and day
pages?
This is described in https://middlemanapp.com/basics/blogging/#calendar-pages quite clearly. Just comment out what you don’t need to use. An example fragment of config.rb
from my wife’s blog:
activate :blog do |blog|
blog.permalink = "{year}/{month}-{day}-{title}.html"
blog.layout = "article_layout"
# blog.year_link = "{year}.html"
# blog.month_link = "{year}/{month}.html"
# blog.day_link = "{year}/{month}/{day}.html"
# blog.default_extension = ".markdown"
blog.tag_template = "tag.html"
blog.year_template = "calendar.html"
# blog.month_template = "calendar.html"
end