forked from jshiffer/site
init commit
This commit is contained in:
26
themes/ezhil/layouts/partials/head.html
Normal file
26
themes/ezhil/layouts/partials/head.html
Normal file
@@ -0,0 +1,26 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user