From d51269a9cfcc87b0bb52a6072152f5138e97da3f Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sat, 15 Oct 2022 12:03:49 -0700 Subject: [PATCH] Remove custom head to test --- layouts/partials/head.html | 64 -------------------------------------- 1 file changed, 64 deletions(-) delete mode 100644 layouts/partials/head.html diff --git a/layouts/partials/head.html b/layouts/partials/head.html deleted file mode 100644 index 5e449b8..0000000 --- a/layouts/partials/head.html +++ /dev/null @@ -1,64 +0,0 @@ -{{- $params := site.Params }} -{{- $separator := default "|" $params.titleSeparator }} -{{- $title := "" }} -{{- if and .Title (ne (trim (lower .Site.Title) "") (trim (lower .Title) "")) }} - {{- if eq .Kind "taxonomy" }} - {{- $title = default .Title ( T (lower .Title) ) }} - {{- else }} - {{- $title = .Title }} - {{- end }} -{{- end }} - {{ if and .Title (ne (trim (lower .Site.Title) "") (trim (lower .Title) "")) }}{{ .Title }} | {{ end }}{{ .Site.Title }} - - {{ hugo.Generator }} - {{- with .Site.Params.ga_verify }} - - {{- end }} - - - {{- if (ne hugo.Environment "development") }} - {{- partial "analytics.html" . }} - {{- end }} - {{- partial "opengraph.html" . }} - {{- partial "favicon.html" . }} - -{{ range .AlternativeOutputFormats -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -{{ end -}} - - -{{ $styles := partialCached "func/getStylesBundle" . }} - - - -{{ $bundle := partialCached "func/getJavascriptBundle" . }} - - - - - -{{- with $params.customCSS }} - {{- range . -}} - - {{- end }} -{{- end }} - - - -{{- if .Description -}} - -{{ else if .IsPage }} - -{{ else if .Site.Params.description }} - -{{- end -}} - -{{- if .Keywords -}} - {{ $length := len .Keywords | add -1 -}} - -{{ else if .Site.Params.keywords }} - {{ $length := len .Site.Params.keywords | add -1 -}} - -{{- end }} -Mastodon