mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-14 01:00:41 +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>
|