From 86baf595a4fb9de42453a2e2822611bc0c21b01a Mon Sep 17 00:00:00 2001 From: Christian Mahnke Date: Thu, 2 Jan 2025 23:13:13 +0100 Subject: [PATCH] Fix typo --- layouts/partials/data/functions/wikidata-label.html | 2 -- layouts/partials/schema.org/page.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 "" -}}