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,
-
class
attribute is always"home-template"
. -
current_url
variable is wrong, which causes highlight of a menu item is always onHome
button.
This PR corrected order of assignments and fixed above bugs.
Before:
After: