From eaaff9e2cf95bd05e0554bed2996b3e8252edba7 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 13 Jan 2024 20:33:21 -0500 Subject: themes/default/layouts/partials: base -> head --- themes/default/layouts/partials/base-head.html | 72 -------------------------- 1 file changed, 72 deletions(-) delete mode 100644 themes/default/layouts/partials/base-head.html (limited to 'themes/default/layouts/partials/base-head.html') diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/base-head.html deleted file mode 100644 index a32b08d..0000000 --- a/themes/default/layouts/partials/base-head.html +++ /dev/null @@ -1,72 +0,0 @@ -{{- $noindex := "" -}} -{{- $image := "" -}} -{{- $author := .Section -}} -{{- $kind := in (slice "home" "taxonomy" "term") .Page.Kind -}} - -{{- if not $kind -}} - {{- $image = print ("" | absURL) "/data/media/" $author "/" $author "-profile.png" -}} -{{- end -}} - -{{- with or .Params.Feed .Params.Unlisted .Params.ExpiryDate -}} - {{- $noindex = "noindex,nofollow" -}} -{{- end }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -{{- partial "base-search.html" . -}} - - -{{- partial "base-discovery.html" . -}} - - -{{- partial "base-canonical.html" . -}} - - -{{- partial "base-css.html" . -}} - - -{{- partial "base-js.html" . -}} - - -{{- partial "base-manifest.html" . -}} - - -{{- partial "base-csp.html" . -}} - - - -- cgit v1.2.3