diff --git a/themes/custom/layouts/_default/baseof.html b/themes/custom/layouts/_default/baseof.html new file mode 100644 index 0000000..c1a8916 --- /dev/null +++ b/themes/custom/layouts/_default/baseof.html @@ -0,0 +1,98 @@ + + + + + + + + {{ block "title" . }}{{ .Page.Title }} - {{ .Site.Title }}{{ end }} + + + + {{ if .Keywords }} + + {{ else if .Site.Params.DefaultKeywords }} + + {{ end }} + + + {{ if .Description }} + + {{ else if .Site.Params.DefaultDescription }} + + {{ end }} + + + {{ hugo.Generator }} + {{ template "_internal/opengraph.html" . }} + + + + {{- if .Site.IsServer }} + {{- $cssOpts := (dict "enableSourceMap" true) }} + {{- $css := resources.Get "style.scss" | toCSS $cssOpts }} + + {{- else }} + {{- $cssOpts := (dict "outputStyle" "compressed") }} + {{- $css := resources.Get "style.scss" | toCSS $cssOpts | minify | fingerprint }} + + {{- end }} + + + + + + {{ block "main" . }}{{ end }} + + + + + + + + + + diff --git a/themes/custom/layouts/_default/single.html b/themes/custom/layouts/_default/single.html new file mode 100644 index 0000000..59e7383 --- /dev/null +++ b/themes/custom/layouts/_default/single.html @@ -0,0 +1,24 @@ +{{ define "main" }} +
+
+
+
+

{{ .Title }}

+
{{ .Params.Subtitle }}
+
+
+
+ {{ if (.Params.toc) }} +
+
+
{{ i18n "table_of_contents" }}
+ {{ .TableOfContents }} +
+
+ {{ end }} +
+ {{ .Content }} +
+
+
+{{ end }} \ No newline at end of file