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

25 lines
659 B
HTML
Raw 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 }}">
2018-07-20 19:14:22 +02:00
<head>
{{ block "title" . }}
<title>{{ if .IsHome }}{{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ else }}{{ .Title }} :: {{ $.Site.Title }}{{ with $.Site.Params.Subtitle }} — {{ . }}{{ end }}{{ end }}</title>
{{ end }}
{{ partial "head.html" . }}
</head>
2018-12-21 19:07:37 +01:00
<body class="{{ if ne $.Site.Params.defaultTheme "light" -}} dark-theme {{- end -}}">
2018-07-20 19:14:22 +02:00
<div class="container">
{{ partial "header.html" . }}
<div class="content">
{{ block "main" . }}
{{ end }}
</div>
{{ block "footer" . }}
{{ partial "footer.html" . }}
{{ end }}
</div>
</body>
</html>