I was hoping to find out how to generate an article for a specific blog when using the multiple blog feature in middleman-blog. I’ve tried:
middleman article --name Title
That was big fail
Help/Advice --appreciated!
I was hoping to find out how to generate an article for a specific blog when using the multiple blog feature in middleman-blog. I’ve tried:
middleman article --name Title
That was big fail
Help/Advice --appreciated!
Suppose that you’ve set up two blogs by putting this in your config.rb
:
activate :blog do |blog|
blog.name = "cats"
blog.prefix = "cats"
end
activate :blog do |blog|
blog.name = "dogs"
blog.prefix = "dogs"
end
You could generate a new article for the dogs blog by running:
middleman article --blog=dogs "Puppy has a bath"
Thanks! Also couldn’t find out the right way to generate an article for a specific blog