Open publitas-revolution opened 4 years ago
I would expect the sources
to be markdown files or erb?
Thanks for the quick response. Yes, they are. Below is the file in source directory against which I am getting above error:
But it looks like middleman-blog is trying to apply the blog-template on the html files in the build directory which is causing this error. If I remove the build/ directory middleman starts and build successfully.
ℹ️ This issue is stale because it has been open for more than 90 days with no activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.
Expected behaviour
Middleman build should compile all the blogs
Actual behaviour
After upgrading to latest middleman-blog I am getting this error
I think the issue is middlman-blog is trying to evaluate files under build/blog/ which are already compiled and will not have the date formatter it is looking for.
Additional information
If I remove the build directory and run middleman server everything works fine and blogs are rendered as usual. But after middleman build everything breaks.
Here is my Blog block: