From 44dbcd6f34c676cefbacf12f18d9883c597a681a Mon Sep 17 00:00:00 2001 From: Track3 Date: Tue, 23 Oct 2018 13:15:50 +0800 Subject: First commit --- layouts/_default/baseof.html | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 layouts/_default/baseof.html (limited to 'layouts/_default/baseof.html') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..db28f28 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,36 @@ + + + + + + + + {{- with .Site.Params.themeColor }} + + + {{- end }} + + + + + + + {{.Title}} + {{ range .AlternativeOutputFormats -}} + {{ printf `` .Rel .MediaType.Type .MediaType.Suffix .Permalink $.Site.Title | safeHTML }} + {{ end -}} + {{ $style := resources.Get "scss/style.scss" | resources.ExecuteAsTemplate "css/style.css" . | toCSS | minify | fingerprint -}} + + {{ block "head" . -}}{{- end }} + + + + {{ block "header" . -}}{{ end -}} + {{ block "main" . -}}{{ end -}} + {{ block "footer" . -}}{{ end }} + {{ $script := resources.Get "js/main.js" | minify | fingerprint -}} + + {{ template "_internal/google_analytics_async.html" . }} + + + \ No newline at end of file -- cgit v1.2.3