aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/base-head.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2024-01-13 20:33:21 -0500
committertdro <tdro@noreply.example.com>2024-01-13 20:33:21 -0500
commiteaaff9e2cf95bd05e0554bed2996b3e8252edba7 (patch)
tree50381535b86f13df060a40400b505a53538ffc4b /themes/default/layouts/partials/base-head.html
parente3f2fd696060de3d6f70c6eab77bd5d358c82c87 (diff)
downloadcanory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.tar.gz
canory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.tar.bz2
canory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.zip
themes/default/layouts/partials: base -> head
Diffstat (limited to 'themes/default/layouts/partials/base-head.html')
-rw-r--r--themes/default/layouts/partials/base-head.html72
1 files changed, 0 insertions, 72 deletions
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 }}
-
-<!-- HTML Meta Tags -->
-<meta charset="utf-8" />
-<meta name="author" content="{{ or $author $.Site.Title -}}" />
-<meta name="robots" content="{{ or $noindex .Site.Params.site.robots "index,follow" }}" />
-<meta name="viewport" content="width=device-width, initial-scale=1" />
-<meta name="keywords" content="{{- partial "base-title.html" . -}}" />
-<meta name="generator" content="Hugo {{ hugo.Version }}" />
-
-<!-- Search Engine Tags -->
-<meta itemprop="name" content="{{ partial "base-title.html" . -}}" />
-<meta itemprop="description" content="{{- partial "base-description.html" . -}}" />
-<meta itemprop="image" content="{{ $image }}" />
-
-<!-- Open Graph Meta Tags -->
-<meta property="og:title" content="{{ partial "base-title.html" . -}}" />
-<meta property="og:description" content="{{- partial "base-description.html" . -}}" />
-<meta property="og:url" content="{{ .Permalink }}" />
-<meta property="og:image" content="{{ $image }}" />
-<meta property="og:type" content="website" />
-<meta property="article:published_time" content="{{ (or .Params.PublishDate now.UTC) | time.Format "2006-01-02T15:04:05Z" }}" />
-<meta property="article:modified_time " content="{{ (or .Params.LastMod now.UTC) | time.Format "2006-01-02T15:04:05Z" }}" />
-
-<!-- Twitter Meta Tags -->
-<meta name="twitter:card" content="summary_large_image" />
-<meta name="twitter:title" content="{{ partial "base-title.html" . -}}" />
-<meta name="twitter:description" content="{{- partial "base-description.html" . -}}" />
-<meta name="twitter:image" content="{{ $image }}" />
-
-<!-- Extra Meta Tags -->
-<meta name='base-url' content="{{ "" | absURL }}" />
-<meta name='last-modified' content="{{ now.UTC.Format "Mon, 02 Jan 2006 15:04:05 GMT" }}" />
-
-<!-- Search Verification -->
-{{- partial "base-search.html" . -}}
-
-<!-- Feed Discovery -->
-{{- partial "base-discovery.html" . -}}
-
-<!-- Canonicalization -->
-{{- partial "base-canonical.html" . -}}
-
-<!-- Styles -->
-{{- partial "base-css.html" . -}}
-
-<!-- Scripts -->
-{{- partial "base-js.html" . -}}
-
-<!-- Progressive Enhancement -->
-{{- partial "base-manifest.html" . -}}
-
-<!-- Content Security Policy -->
-{{- partial "base-csp.html" . -}}
-
-<!-- No Scripts -->
-<noscript>
- <style>
- {{ safeCSS (readFile "assets/css/noscript.css") }}
- </style>
-</noscript>