website/themes/terminal-plus-minus/layouts/_default/baseof.html
2019-09-02 01:51:06 +08:00

26 lines
811 B
HTML

<!DOCTYPE html>
<html lang="{{ $.Site.Language }}">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ 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="site">
{{ partial "header.html" . }}
<main class="site__content">
{{ block "main" . }}
{{ end }}
</main>
{{- if .Site.Params.enableSiteSearch -}}
{{ partial "optional/search" . }}
{{- end -}}
{{ partial "footer.html" . }}
{{ partial "scripts.html" . }}
</body>
</html>