hugo-geekblog/layouts/_default/baseof.html

44 lines
998 B
HTML
Raw Normal View History

2020-07-06 18:55:32 +00:00
<!DOCTYPE html>
<html
itemscope
itemtype="http://schema.org/WebPage"
lang="{{ .Site.Language.Lang }}"
class="color-toggle-hidden"
{{ if default false .Site.Params.GeekblogDarkModeCode }}code-theme="dark"{{ end }}
>
<head>
2020-07-22 21:41:46 +00:00
{{ partial "head/meta" . }}
<title>
{{- if eq .Kind "home" -}}
{{ .Site.Title }}
{{- else -}}
{{ printf "%s | %s" (partial "utils/title" .) .Site.Title }}
{{- end -}}
</title>
2020-07-22 21:41:46 +00:00
{{ partial "head/favicons" . }}
2020-07-23 08:00:18 +00:00
{{ partial "head/rel-me" . }}
2020-07-23 19:27:11 +00:00
{{ partial "head/microformats" . }}
2020-07-22 21:41:46 +00:00
{{ partial "head/others" . }}
{{ partial "head/custom" . }}
</head>
2020-07-06 18:55:32 +00:00
<body>
{{ partial "svg-sprites" . }}
2020-07-06 18:55:32 +00:00
<div
class="wrapper {{ if default false .Site.Params.GeekblogDarkModeDim }}dark-mode-dim{{ end }}"
>
{{ partial "site-header" . }}
<main class="gblog-page container">
{{ template "main" . }}
</main>
2020-07-06 18:55:32 +00:00
{{ partial "site-footer" . }}
2020-07-06 18:55:32 +00:00
</div>
</body>
2020-07-06 18:55:32 +00:00
</html>