tdreyno / middleman-blog-editor-issues

Public bug tracker for middleman-blog-editor gem
http://middleman-blog-editor.awardwinningfjords.com
3 stars 0 forks source link

filename issue when creating or editing posts #8

Open chadyj opened 10 years ago

chadyj commented 10 years ago

Whenever I create or edit a post the filename is changed to {year}/{month}/{day}/{title}.erb

Using a new install of Middleman and the latest editor.

Blog config:

  blog.prefix = "blog"
  blog.permalink = "{year}/{month}/{day}/{title}"
  blog.sources = "posts/{year}-{month}-{day}-{title}"
  blog.layout = "blog"

Similarly when I preview a post the URL is http://localhost:4567/blog/%7Byear%7D/%7Bmonth%7D/%7Bday%7D/%7Btitle%7D

tdreyno commented 10 years ago

Ah, looks like middleman-blog change the format of their URLs from :year to {year}. We'll need to make an update to support that.