diff options
author | tdro <tdro@noreply.example.com> | 2024-01-13 20:33:21 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2024-01-13 20:33:21 -0500 |
commit | eaaff9e2cf95bd05e0554bed2996b3e8252edba7 (patch) | |
tree | 50381535b86f13df060a40400b505a53538ffc4b /themes/default/layouts | |
parent | e3f2fd696060de3d6f70c6eab77bd5d358c82c87 (diff) | |
download | canory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.tar.gz canory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.tar.bz2 canory-eaaff9e2cf95bd05e0554bed2996b3e8252edba7.zip |
themes/default/layouts/partials: base -> head
Diffstat (limited to 'themes/default/layouts')
26 files changed, 35 insertions, 35 deletions
diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html index fa386be..c277115 100644 --- a/themes/default/layouts/_default/baseof.html +++ b/themes/default/layouts/_default/baseof.html @@ -18,10 +18,10 @@ <head> <title> {{- block "title" . -}}{{- end -}} - {{- partial "base-title.html" . -}} + {{- partial "head-title.html" . -}} </title> - <meta name="description" content="{{- partial "base-description.html" . -}}" /> - {{- partial "base-head.html" . -}} + <meta name="description" content="{{- partial "head-description.html" . -}}" /> + {{- partial "head.html" . -}} {{- block "styles" . -}}{{- end -}} </head> <body> @@ -41,7 +41,7 @@ {{- end -}} </main> {{- block "footer" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} </column-base> diff --git a/themes/default/layouts/_default/home.archives.html b/themes/default/layouts/_default/home.archives.html index d098a21..f443583 100644 --- a/themes/default/layouts/_default/home.archives.html +++ b/themes/default/layouts/_default/home.archives.html @@ -59,7 +59,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/home.settings.html b/themes/default/layouts/_default/home.settings.html index 44b3399..84e8080 100644 --- a/themes/default/layouts/_default/home.settings.html +++ b/themes/default/layouts/_default/home.settings.html @@ -24,7 +24,7 @@ {{- end -}} {{- define "footer" -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/home.xslt.rss.xsl b/themes/default/layouts/_default/home.xslt.rss.xsl index 9d5e8ee..f828f4f 100644 --- a/themes/default/layouts/_default/home.xslt.rss.xsl +++ b/themes/default/layouts/_default/home.xslt.rss.xsl @@ -13,7 +13,7 @@ {{ printf `<title><xsl:value-of select="/rss/channel/title" /> Web Feed</title>` | safeHTML }} <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> - {{- partial "base-css.html" . -}} + {{- partial "head-css.html" . -}} </head> <body> <column-base position="left"></column-base> diff --git a/themes/default/layouts/_default/home.xslt.sitemap.xsl b/themes/default/layouts/_default/home.xslt.sitemap.xsl index 67a4459..335ce09 100644 --- a/themes/default/layouts/_default/home.xslt.sitemap.xsl +++ b/themes/default/layouts/_default/home.xslt.sitemap.xsl @@ -11,7 +11,7 @@ <title>{{ $.Site.Title }} Site Map</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/> - {{- partial "base-css.html" . -}} + {{- partial "head-css.html" . -}} </head> <body> <column-base position="left"></column-base> diff --git a/themes/default/layouts/_default/index.html b/themes/default/layouts/_default/index.html index 1de28d6..f25cabf 100644 --- a/themes/default/layouts/_default/index.html +++ b/themes/default/layouts/_default/index.html @@ -26,7 +26,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/rss.xml b/themes/default/layouts/_default/rss.xml index 78161da..5f9877e 100644 --- a/themes/default/layouts/_default/rss.xml +++ b/themes/default/layouts/_default/rss.xml @@ -14,8 +14,8 @@ {{- $lastBuildDate = .Date | time.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML -}} {{- end -}} -{{- $title := partial "base-title.html" . -}} -{{- $description := partial "base-title.html" . -}} +{{- $title := partial "head-title.html" . -}} +{{- $description := partial "head-title.html" . -}} {{- $author := partial "function-authors-data.html" . -}} {{- if (eq .Page.Kind "section") -}} diff --git a/themes/default/layouts/_default/section.drafts.html b/themes/default/layouts/_default/section.drafts.html index 7a2cdf6..bb7485c 100644 --- a/themes/default/layouts/_default/section.drafts.html +++ b/themes/default/layouts/_default/section.drafts.html @@ -50,7 +50,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/section.feeds.html b/themes/default/layouts/_default/section.feeds.html index 406f667..e239928 100644 --- a/themes/default/layouts/_default/section.feeds.html +++ b/themes/default/layouts/_default/section.feeds.html @@ -45,7 +45,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/section.html b/themes/default/layouts/_default/section.html index 4de0f9c..901ca1f 100644 --- a/themes/default/layouts/_default/section.html +++ b/themes/default/layouts/_default/section.html @@ -48,7 +48,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/section.marks.html b/themes/default/layouts/_default/section.marks.html index 5b6cea0..def6c94 100644 --- a/themes/default/layouts/_default/section.marks.html +++ b/themes/default/layouts/_default/section.marks.html @@ -50,7 +50,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/single.embed.html b/themes/default/layouts/_default/single.embed.html index 6169772..73a3add 100644 --- a/themes/default/layouts/_default/single.embed.html +++ b/themes/default/layouts/_default/single.embed.html @@ -21,6 +21,6 @@ {{- end -}} {{- if $modified -}} - {{- partial "base-embed.html" . -}} + {{- partial "head-embed.html" . -}} {{- .Render "summary" -}} {{- end -}} diff --git a/themes/default/layouts/_default/taxonomy.html b/themes/default/layouts/_default/taxonomy.html index 6a8325b..5c8e2ba 100644 --- a/themes/default/layouts/_default/taxonomy.html +++ b/themes/default/layouts/_default/taxonomy.html @@ -63,7 +63,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/_default/term.html b/themes/default/layouts/_default/term.html index 6455b40..4f0d92a 100644 --- a/themes/default/layouts/_default/term.html +++ b/themes/default/layouts/_default/term.html @@ -26,7 +26,7 @@ {{- define "footer" -}} {{- partial "pagination.html" . -}} - {{- partial "base-footer.html" . -}} + {{- partial "footer.html" . -}} {{- end -}} {{- define "right" -}} diff --git a/themes/default/layouts/partials/base-footer.html b/themes/default/layouts/partials/footer.html index cae0cbf..cae0cbf 100644 --- a/themes/default/layouts/partials/base-footer.html +++ b/themes/default/layouts/partials/footer.html diff --git a/themes/default/layouts/partials/base-canonical.html b/themes/default/layouts/partials/head-canonical.html index 051e450..051e450 100644 --- a/themes/default/layouts/partials/base-canonical.html +++ b/themes/default/layouts/partials/head-canonical.html diff --git a/themes/default/layouts/partials/base-csp.html b/themes/default/layouts/partials/head-csp.html index d34043e..d34043e 100644 --- a/themes/default/layouts/partials/base-csp.html +++ b/themes/default/layouts/partials/head-csp.html diff --git a/themes/default/layouts/partials/base-css.html b/themes/default/layouts/partials/head-css.html index 662aa6b..662aa6b 100644 --- a/themes/default/layouts/partials/base-css.html +++ b/themes/default/layouts/partials/head-css.html diff --git a/themes/default/layouts/partials/base-description.html b/themes/default/layouts/partials/head-description.html index 94b10c2..89e4691 100644 --- a/themes/default/layouts/partials/base-description.html +++ b/themes/default/layouts/partials/head-description.html @@ -4,5 +4,5 @@ {{ .Summary }} {{- else -}} {{- block "description" . -}}{{- end -}} - {{- partial "base-title.html" . -}} + {{- partial "head-title.html" . -}} {{- end -}} diff --git a/themes/default/layouts/partials/base-discovery.html b/themes/default/layouts/partials/head-discovery.html index 8c7272f..8c7272f 100644 --- a/themes/default/layouts/partials/base-discovery.html +++ b/themes/default/layouts/partials/head-discovery.html diff --git a/themes/default/layouts/partials/base-embed.html b/themes/default/layouts/partials/head-embed.html index c6f3174..e9c44d7 100644 --- a/themes/default/layouts/partials/base-embed.html +++ b/themes/default/layouts/partials/head-embed.html @@ -1,4 +1,4 @@ <head> <meta name="viewport" content="width=device-width, initial-scale=1" /> - {{- partial "base-css.html" . -}} + {{- partial "head-css.html" . -}} </head> diff --git a/themes/default/layouts/partials/base-js.html b/themes/default/layouts/partials/head-js.html index a491eee..a491eee 100644 --- a/themes/default/layouts/partials/base-js.html +++ b/themes/default/layouts/partials/head-js.html diff --git a/themes/default/layouts/partials/base-manifest.html b/themes/default/layouts/partials/head-manifest.html index 52be1f9..52be1f9 100644 --- a/themes/default/layouts/partials/base-manifest.html +++ b/themes/default/layouts/partials/head-manifest.html diff --git a/themes/default/layouts/partials/base-search.html b/themes/default/layouts/partials/head-search.html index 89113ab..89113ab 100644 --- a/themes/default/layouts/partials/base-search.html +++ b/themes/default/layouts/partials/head-search.html diff --git a/themes/default/layouts/partials/base-title.html b/themes/default/layouts/partials/head-title.html index fff4530..fff4530 100644 --- a/themes/default/layouts/partials/base-title.html +++ b/themes/default/layouts/partials/head-title.html diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/head.html index a32b08d..0d0fb32 100644 --- a/themes/default/layouts/partials/base-head.html +++ b/themes/default/layouts/partials/head.html @@ -16,17 +16,17 @@ <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="keywords" content="{{- partial "head-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="name" content="{{ partial "head-title.html" . -}}" /> +<meta itemprop="description" content="{{- partial "head-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:title" content="{{ partial "head-title.html" . -}}" /> +<meta property="og:description" content="{{- partial "head-description.html" . -}}" /> <meta property="og:url" content="{{ .Permalink }}" /> <meta property="og:image" content="{{ $image }}" /> <meta property="og:type" content="website" /> @@ -35,34 +35,34 @@ <!-- 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:title" content="{{ partial "head-title.html" . -}}" /> +<meta name="twitter:description" content="{{- partial "head-description.html" . -}}" /> <meta name="twitter:image" content="{{ $image }}" /> <!-- Extra Meta Tags --> -<meta name='base-url' content="{{ "" | absURL }}" /> +<meta name='head-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" . -}} +{{- partial "head-search.html" . -}} <!-- Feed Discovery --> -{{- partial "base-discovery.html" . -}} +{{- partial "head-discovery.html" . -}} <!-- Canonicalization --> -{{- partial "base-canonical.html" . -}} +{{- partial "head-canonical.html" . -}} <!-- Styles --> -{{- partial "base-css.html" . -}} +{{- partial "head-css.html" . -}} <!-- Scripts --> -{{- partial "base-js.html" . -}} +{{- partial "head-js.html" . -}} <!-- Progressive Enhancement --> -{{- partial "base-manifest.html" . -}} +{{- partial "head-manifest.html" . -}} <!-- Content Security Policy --> -{{- partial "base-csp.html" . -}} +{{- partial "head-csp.html" . -}} <!-- No Scripts --> <noscript> |