mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 14:00:42 +00:00
44 lines
998 B
HTML
44 lines
998 B
HTML
<!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>
|
|
{{ partial "head/meta" . }}
|
|
<title>
|
|
{{- if eq .Kind "home" -}}
|
|
{{ .Site.Title }}
|
|
{{- else -}}
|
|
{{ printf "%s | %s" (partial "utils/title" .) .Site.Title }}
|
|
{{- end -}}
|
|
</title>
|
|
|
|
{{ partial "head/favicons" . }}
|
|
{{ partial "head/rel-me" . }}
|
|
{{ partial "head/microformats" . }}
|
|
{{ partial "head/others" . }}
|
|
{{ partial "head/custom" . }}
|
|
</head>
|
|
|
|
<body>
|
|
{{ partial "svg-sprites" . }}
|
|
|
|
|
|
<div
|
|
class="wrapper {{ if default false .Site.Params.GeekblogDarkModeDim }}dark-mode-dim{{ end }}"
|
|
>
|
|
{{ partial "site-header" . }}
|
|
|
|
|
|
<main class="gblog-page container">
|
|
{{ template "main" . }}
|
|
</main>
|
|
|
|
{{ partial "site-footer" . }}
|
|
</div>
|
|
</body>
|
|
</html>
|