mirror of
https://github.com/thomasjsn/hugo-theme-hello-friend.git
synced 2024-11-23 00:05:07 +01:00
31 lines
846 B
HTML
31 lines
846 B
HTML
<!DOCTYPE html>
|
|
<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>
|
|
{{ 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>
|
|
|
|
{{ block "footer" . }}
|
|
{{ partial "footer.html" . }}
|
|
{{ end }}
|
|
</div>
|
|
|
|
{{ if $.Site.GoogleAnalytics }}
|
|
{{ template "_internal/google_analytics.html" . }}
|
|
{{ end }}
|
|
</body>
|
|
</html>
|