From 22bfc6f4ab274e0c9c33f1f931b04c97470365cd Mon Sep 17 00:00:00 2001 From: Timur Osmanov <54434686+TOsmanov@users.noreply.github.com> Date: Tue, 24 Aug 2021 12:20:23 +0300 Subject: [PATCH] add head.html (#3578) --- site/layouts/partials/head.html | 43 +++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 site/layouts/partials/head.html diff --git a/site/layouts/partials/head.html b/site/layouts/partials/head.html new file mode 100644 index 00000000..d0b8321c --- /dev/null +++ b/site/layouts/partials/head.html @@ -0,0 +1,43 @@ + + +{{ hugo.Generator }} +{{- $outputFormat := partial "outputformat.html" . -}} + +{{ range .AlternativeOutputFormats -}} + +{{ end -}} + +{{ if and (eq (getenv "HUGO_ENV") "production") (ne $outputFormat "print") -}} + +{{ else -}} + +{{ end -}} + +{{ partialCached "favicons.html" . }} +