attila
attila copied to clipboard
Fix wrong body_class values in archives, authors, categories, pages and tags templates
Templates of archives.html, authors.html, categories.html, pages.html, tags.html do not properly set class attribute of <body>. In these pages,
-
classattribute is always"home-template". -
current_urlvariable is wrong, which causes highlight of a menu item is always onHomebutton.
This PR corrected order of assignments and fixed above bugs.
Before:
After: