blog/themes/hello-friend/layouts/_default/baseof.html
Mathieu Broillet cda0c8f53d
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone Build encountered an error
init hugo
2023-06-11 11:34:59 +02:00

31 lines
851 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 {{ with $.Site.Params.defaultTheme -}} class="{{ printf "%s-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>