Dear folks!
On a complex site with multiple blogs we need to add a blog name class to all articles.
<%= blog_controller('blog1').config[:name] %>
unfortunately results in this error message:
undefined method `config' for #<Middleman::BlogExtension:0x007fc9d8353af0>
The names of the blog are defined this way:
activate :blog do |blog|
blog.name = "blog1"
…
end
activate :blog do |blog|
blog.name = "blog2"
…
end
Help is really appreciated Thank you very much!