theme: Remove duplicate meta element

This commit is contained in:
Joe Mooring
2025-05-11 12:26:34 -07:00
committed by GitHub
parent 838706d6e4
commit 10834529ea
2 changed files with 5 additions and 15 deletions
+4 -12
View File
@@ -28,19 +28,11 @@
href="{{ .RelPermalink | safeURL }}" />
{{ end -}}
<meta name="description" content="{{ or .Description site.Params.description }}">
<meta
name="description"
content="{{ with .Description }}
{{ . }}
{{ else }}
{{ with .Site.Params.description }}{{ . }}{{ end }}
{{ end }}
" />
{{- partial "opengraph/opengraph.html" . }}
{{- partial "schema.html" . -}}
{{- partial "twitter_cards.html" . -}}
{{ partial "opengraph/opengraph.html" . }}
{{ partial "schema.html" . }}
{{ partial "twitter_cards.html" . }}
{{ if hugo.IsProduction }}
{{ partial "helpers/gtag.html" . }}
+1 -3
View File
@@ -12,9 +12,7 @@
display: none !important;
}
</style>
<meta
name="description"
content="{{ .Description | default site.Params.description }}">
{{ partial "layouts/head/head-js.html" . }}
{{ with (templates.Defer (dict "key" "global")) }}
{{ $t := debug.Timer "tailwindcss" }}