This commit is contained in:
zoe 2022-05-27 17:29:31 +02:00
parent 41bfe7db62
commit a238bb327f
2 changed files with 3 additions and 4 deletions

View file

@ -142,13 +142,14 @@ h6 {
text-align: right;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 1em;
margin-bottom: 1em;
margin-top: 12pt;
margin-bottom: 12pt;
}
article {

View file

@ -9,12 +9,10 @@
<article id="content" class="colorswitch">
{{ .Content }}
<p>
<nav>
{{ $currentPage := . }}
{{ range .Site.Menus.nav }}
<a class="hamburger-nav-item{{if or ($currentPage.IsMenuCurrent "nav" .) ($currentPage.HasMenuCurrent "nav" .) }} active{{end}} colorswitch" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }} {{ .Title }}</a>
{{ end }}
</nav>
</p>
</article>
</div>