tpl/tplimpl: Plainify title and description in schema.html

Closes #12432
This commit is contained in:
Joe Mooring
2024-04-25 07:58:28 -07:00
committed by Bjørn Erik Pedersen
parent 6dbbe6dd3a
commit 92290aa892
2 changed files with 84 additions and 2 deletions

View File

@@ -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 }}