bsd/themes/ezhil/layouts/partials/head.html

27 lines
729 B
HTML
Raw Normal View History

2022-10-03 20:27:19 -07:00
<div class="header">
<base href="{{ .Site.BaseURL }}">
<h1 class="site-title"><a href="{{ .Site.BaseURL }}"><img width=117 height=80 src="{{ .Site.Params.Logo }}"></img></a></h1>
<div class="site-description">
{{- if isset .Site.Params "subtitle" -}}
<h2>{{ .Site.Params.Subtitle | markdownify }}</h2>
{{- end -}}
<nav class="nav social">
<ul class="flat">
{{- range $index, $key := .Site.Params.Social -}}
<a href="{{ $key.url }}" title="{{ $key.name }}"><i data-feather="{{ $key.icon }}"></i></a>
{{- end -}}
</ul>
</nav>
</div>
<nav class="nav">
<ul class="flat">
{{ range .Site.Menus.main }}
<li>
<a href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</nav>
</div>