mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-06-13 01:57:28 -05:00
Use description-or-summary partial in SEO tags
This commit is contained in:
@ -33,5 +33,5 @@
|
||||
{{ partial "seo-tags/author.html" . }}
|
||||
|
||||
<meta name="language" content="{{ .Language.Lang }}">
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage }}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}">
|
||||
<meta name="description" content="{{ (partial "description-or-summary.html" .) | plainify }}">
|
||||
</head>
|
||||
|
Reference in New Issue
Block a user