Dear all!
Current menu links are highlighted using
def menu_link(link_text, url, options = {})
options[:class] << ' nav-item--is-current' if current_page.url == url
link_to(link_text, url, options)
end
Is there any way to highlight the menu item journal
not only when the blog overview is active, but also when any blog item site is the current one?
Unlike here, there is no static journal
prefix, but
blog.permalink = ":title.html"
The site uses multiple blogs, by the way.
Thanks a lot.