You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

35 lines
1.0 KiB

<div class="header">
{{ if .Site.Params.Avatar }}
<div class="avatar">
<a href="{{ .Site.BaseURL }}">
<img src="{{ .Site.Params.Avatar }}" alt="{{ .Site.Title }}" />
</a>
</div>
{{ end }}
<h1 class="site-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
<div class="site-description">
{{- if isset .Site.Params "subtitle" -}}
<p>{{ .Site.Params.Subtitle | markdownify }}</p>
{{- end -}}
<nav class="nav social">
<ul class="flat">
{{- range $index, $key := .Site.Params.Social -}}
<li><a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a></li>
{{- end -}}
</ul>
</nav>
{{- if or (eq .Site.Params.mode "auto") (eq .Site.Params.mode "dark") -}}
<span class="scheme-toggle"><a href="#" id="scheme-toggle"></a>
{{- end -}}
</div>
<nav class="nav">
<ul class="flat">
{{ range .Site.Menus.main }}
<li>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</nav>
</div>