25 lines
752 B
HTML
25 lines
752 B
HTML
|
<div class="header-top">
|
||
|
<div class="header-top-left">
|
||
|
{{ partial "site-title.html" . }}
|
||
|
{{ partial "theme-switcher.html" . }}
|
||
|
{{ partial "social.html" . }}
|
||
|
</div>
|
||
|
<div class="header-top-right">
|
||
|
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
{{ if .Site.Menus.main }}
|
||
|
<nav class="noselect">
|
||
|
{{ $currentPage := . }}
|
||
|
{{ range .Site.Menus.main }}
|
||
|
<a class="{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}" href="{{ .URL | absLangURL }}" title="{{ .Title }}">{{ .Name }}</a>
|
||
|
{{ end }}
|
||
|
</nav>
|
||
|
{{ else }}
|
||
|
<nav></nav>
|
||
|
{{ end }}
|
||
|
|
||
|
{{ if .Site.Params.mathjax }}{{ partial "mathjax_support.html" . }}{{ end }}
|
||
|
|
||
|
{{ partial "header-extra.html" . }}
|