diff options
Diffstat (limited to 'layouts/partials/nav.html')
-rw-r--r-- | layouts/partials/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index eeec5f2..1020c03 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,7 @@ <header> <nav> <ul> - <li class="nav-menu-title"><a href="/">{{ .Site.Title }}</a></li> + <li class="nav-menu-title{{if .IsHome}} nav-menu-active{{end}}"><a href="/">{{ .Site.Title }}</a></li> {{- $p := . -}} {{- range first 1 .Site.Menus.main.ByWeight -}} |