highlight website title while on home page and a css cleanup

This commit is contained in:
Julien Dessaux 2022-10-24 01:03:05 +02:00
parent 62ba31ee46
commit 682bd57e91
Signed by: adyxax
GPG key ID: F92E51B86E07177E
3 changed files with 3 additions and 3 deletions

View file

@ -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 -}}