hugo-theme-hello-friend/layouts/_default/baseof.html

31 lines
846 B
HTML
Raw Permalink Normal View History

2018-07-20 19:14:22 +02:00
<!DOCTYPE html>
2019-01-29 11:11:48 +01:00
<html lang="{{ $.Site.Language }}">
<head>
{{ block "title" . }}
<title>
{{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} —
{{ . }}{{ end }}{{ else }}{{ .Title }} ::
{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }}
</title>
2018-07-20 19:14:22 +02:00
{{ end }}
{{ partial "head.html" . }}
</head>
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
<div class="container">
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }} {{ end }}
</div>
2018-07-20 19:14:22 +02:00
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
2018-07-20 19:14:22 +02:00
{{ if $.Site.GoogleAnalytics }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</body>
2018-07-20 19:14:22 +02:00
</html>