From 9b5f3fad7068298265dbbc8a65077f7917a090a5 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 21 Sep 2025 00:27:35 +0200 Subject: updated hugo-book theme --- .../hugo-book/layouts/partials/docs/html-head.html | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 themes/hugo-book/layouts/partials/docs/html-head.html (limited to 'themes/hugo-book/layouts/partials/docs/html-head.html') diff --git a/themes/hugo-book/layouts/partials/docs/html-head.html b/themes/hugo-book/layouts/partials/docs/html-head.html deleted file mode 100644 index 6a6d0ec..0000000 --- a/themes/hugo-book/layouts/partials/docs/html-head.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - -{{- with .Page.Params.BookHref -}} - -{{- end -}} - -{{- template "_internal/opengraph.html" . -}} - -{{ partial "docs/html-head-title" . }} -{{ partial "docs/html-head-favicon" . }} - -{{- $manifest := resources.Get "manifest.json" | resources.ExecuteAsTemplate "manifest.json" . }} - - - -{{- range .Translations }} - -{{- end -}} - - -{{- $styles := resources.Get "book.scss" | resources.ExecuteAsTemplate "book.scss" . | css.Sass | resources.Minify | resources.Fingerprint }} - -{{- if default true .Site.Params.BookSearch -}} - {{- $searchJSFile := printf "%s.search.js" .Language.Lang }} - {{- $searchJS := resources.Get "search.js" | resources.ExecuteAsTemplate $searchJSFile . | resources.Minify | resources.Fingerprint }} - - -{{ end -}} - -{{- if .Site.Params.BookServiceWorker -}} - {{- $swJS := resources.Get "sw-register.js" | resources.ExecuteAsTemplate "sw.js" . | resources.Minify | resources.Fingerprint }} - -{{ end -}} - -{{- template "_internal/google_analytics.html" . -}} - - -{{- with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{ end -}} - -{{ "" | safeHTML }} - -{{- define "integrity" -}} - {{- if (urls.Parse .Permalink).Host -}} - integrity="{{ .Data.Integrity }}" crossorigin="anonymous" - {{- end -}} -{{- end -}} -- cgit v1.2.3