diff --git a/layouts/partials/data/functions/wikidata-label.html b/layouts/partials/data/functions/wikidata-label.html index c5b13f3d2f..382d3037d8 100644 --- a/layouts/partials/data/functions/wikidata-label.html +++ b/layouts/partials/data/functions/wikidata-label.html @@ -37,8 +37,6 @@ {{- $entity := index $data.entities $id -}} - - {{- $label := $id -}} {{- range $defaultLangs -}} {{- if isset $entity.labels . -}} diff --git a/layouts/partials/schema.org/page.html b/layouts/partials/schema.org/page.html index e212fb8d1e..2b617c3358 100644 --- a/layouts/partials/schema.org/page.html +++ b/layouts/partials/schema.org/page.html @@ -18,7 +18,7 @@ "url": {{ .Permalink }}, "name": {{ .Title }}, "datePublished": {{ .Date }} - {{- with $.Description -}} + {{- with .Description -}} ,"description": . {{- end -}} {{- if ne $authorName "" -}}