blog-theme/layouts/_default/baseof.html

33 lines
776 B
HTML

<!DOCTYPE html>
<html>
{{- partial "head.html" . -}}
<body>
<div class="content">
<a href="/" class="site-header">
{{ with .Site.Params.Avatar }}
<img src="/{{ . }}">
{{ end }}
<header>
<h1>{{ .Site.Title }}</h1>
{{ with .Site.Params.Tagline }}
<h3>{{ . }}</h3>
{{ end }}
</header>
</a>
<br>
{{ if .Site.Params.Stork }}
<div class="stork-search">
<label>
<input type="text" data-stork="home" placeholder=" Search {{ .Site.Title }}...">
</label>
</div>
<div data-stork="home-output"></div>
<br>
{{ end }}
<div class="page">
{{- block "main" . }}{{- end }}
</div>
{{- partial "footer.html" . -}}
</div>
</body>
</html>