merge upstream

This commit is contained in:
Niklas Buschmann
2020-02-18 17:40:33 +01:00
parent 1d28ba46b0
commit a136fa977b
4 changed files with 46 additions and 5 deletions

View File

@@ -21,14 +21,16 @@
{{ partial "math.html" . }}
{{- end }}
<body>
<header>
{{ if not (gt (len .Site.Menus) 1) }}<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>{{ end }}
{{ range .Site.Menus }}<nav>{{ range . }}<a href="{{ .URL }}" {{ if (eq $.RelPermalink .URL) }}class="selected"{{ end }}>{{ .Pre }}{{ .Name }}{{ .Post }}</a>{{ end }}</nav>{{ end }}
{{ with .Site.Params.description }}<div class="hidden">{{ safeHTML . }}</div>{{ end }}
</header>
<body>
{{- block "main" . }}{{- end }}
</body>
</html>