24 lines
706 B
HTML
24 lines
706 B
HTML
<header class="header">
|
|
<a class="title" href="{{ .Site.Home.RelPermalink }}">{{ .Site.Title }}</a>
|
|
{{- with .Site.Params.subtitle }}
|
|
<span class="description">{{ . }}</span>
|
|
{{- end }}
|
|
</header>
|
|
<nav class="nav nav-top"{{- with .Site.Params.aria.menu_top }} aria-label="{{ . }}"{{- end }}>
|
|
<ul>
|
|
{{- $curr := . }}
|
|
{{- range .Site.Menus.main }}
|
|
{{ with .Pre }}{{ . }}{{ end }}
|
|
<li{{ with .Params.class }} class="{{ . }}"{{ end }}>
|
|
{{- if .URL }}
|
|
<a href="{{ .URL }}"{{ with .Title }} title="{{ . }}"{{ end }}>{{ .Name }}</a>
|
|
{{- else }}
|
|
<li>{{ .Name }}</li>
|
|
{{- end }}
|
|
</li>
|
|
{{ with .Post }}{{ . }}{{ end }}
|
|
{{- end }}
|
|
</ul>
|
|
</nav>
|
|
<hr>
|