mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 23:38:53 +00:00
theme: Remove duplicate meta element
This commit is contained in:
@@ -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
@@ -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" }}
|
||||
|
||||
Reference in New Issue
Block a user