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; text-align: right;
} }
h1,
h2, h2,
h3, h3,
h4, h4,
h5, h5,
h6 { h6 {
margin-top: 1em; margin-top: 12pt;
margin-bottom: 1em; margin-bottom: 12pt;
} }
article { article {

View File

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