mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
tpl/tplimpl: Plainify title and description in schema.html
Closes #12432
This commit is contained in:
committed by
Bjørn Erik Pedersen
parent
6dbbe6dd3a
commit
92290aa892
@@ -1,8 +1,8 @@
|
||||
{{- with or .Title site.Title }}
|
||||
{{- with or .Title site.Title | plainify }}
|
||||
<meta itemprop="name" content="{{ . }}">
|
||||
{{- end }}
|
||||
|
||||
{{- with or .Description .Summary site.Params.Description }}
|
||||
{{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
|
||||
<meta itemprop="description" content="{{ . }}">
|
||||
{{- end }}
|
||||
|
||||
|
Reference in New Issue
Block a user