From 4bdd4d4ff611577f63fe5c0ab82d41349cfe5947 Mon Sep 17 00:00:00 2001 From: Timur Osmanov <54434686+TOsmanov@users.noreply.github.com> Date: Fri, 20 Aug 2021 15:19:18 +0300 Subject: [PATCH] Update jQuery on website (#421) * update head.html * move head.html to partials/ --- 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 000000000000..d0b8321ca42a --- /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" . }} +