From 941642aee876a97dbb79666d8fabaa2b1feb9ff5 Mon Sep 17 00:00:00 2001 From: Indrajith K L Date: Sun, 20 Mar 2022 00:38:25 +0530 Subject: Theme changes --- themes/terminal/layouts/partials/head.html | 76 ++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 themes/terminal/layouts/partials/head.html (limited to 'themes/terminal/layouts/partials/head.html') diff --git a/themes/terminal/layouts/partials/head.html b/themes/terminal/layouts/partials/head.html new file mode 100644 index 0000000..48f2d28 --- /dev/null +++ b/themes/terminal/layouts/partials/head.html @@ -0,0 +1,76 @@ + + + + + + + +{{ template "_internal/google_analytics.html" . }} + + + +{{ if (isset .Params "color") }} + +{{ else if and (ne $.Site.Params.ThemeColor "orange") (ne $.Site.Params.ThemeColor "color" "") }} + +{{ end }} + + +{{ if (fileExists "static/style.css") -}} + +{{- end }} + + + +{{ if isset $.Site.Params "favicon" }} + +{{ else }} + +{{ end }} + + + +{{ if (isset $.Site.Params "twitter") }} + {{ if (isset $.Site.Params.Twitter "site") }} + + {{ end }} + +{{ end }} + + + + + + + + +{{ if and (not .IsHome) (isset .Params "cover") }} + +{{ else }} + {{ if isset $.Site.Params "favicon" }} + + {{ else }} + + {{ end }} +{{ end }} + + +{{ range .Params.categories }} + +{{ end }} +{{ if isset .Params "date" }} + +{{ end }} + + +{{ with .OutputFormats.Get "RSS" }} + +{{ end }} + + +{{ with .OutputFormats.Get "json" }} + +{{ end }} + + +{{ partial "extended_head.html" . }} -- cgit v1.2.3