Article Template Issues

When I run middleman article TITLE I get the error:

Could not find “source/blog-template.erb” in any of your source paths. Your current source paths are:
/Users/user/.rvm/gems/ruby-2.3.0/gems/middleman-blog-4.0.1/lib/middleman-blog/commands

In my config.rb file, under activate blog I set blog.new_article_template = “source/blog-template.erb”.

Anyone have any ideas on how I can get the new_article_template functionality to work for my project.

Try something like:

blog.new_article_template = File.expand_path('../source/blog-template.erb', __FILE__)
1 Like

That worked perfectly!

Thanks