From 6bdd1c4c0ea567c45fdecb1e858a99ee5da246ad Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Mon, 13 Apr 2020 19:13:39 +0800 Subject: Initial commit --- layouts/partials/head.html | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layouts/partials/head.html (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..8d035ce --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,23 @@ + + + + + + +{{ hugo.Generator }} +{{ partial "favicon.html" . }} + +{{ if .IsHome }} +{{ .Site.Title }} - {{ .Site.Params.subTitle }} +{{ else }} +{{ .Title }} - {{ .Site.Title }} +{{ end }} + +{{ $sass := resources.Get "sass/main.scss" }} +{{ $style := $sass | resources.ToCSS }} + + + +{{ if or .Params.math .Site.Params.math }} +{{ partial "math.html" . }} +{{ end }} \ No newline at end of file -- cgit v1.2.3