diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fc760eb..72d512f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed - Updated date is displayed even when it is the same as published date +- Structured data on homepage unparsable by Google ([#113](https://github.com/jpanther/congo/issues/113)) ## [2.0.4] - 2022-02-09 diff --git a/layouts/partials/schema.html b/layouts/partials/schema.html index f69bdd05..77ecfa3c 100644 --- a/layouts/partials/schema.html +++ b/layouts/partials/schema.html @@ -8,11 +8,11 @@ {{ with .Site.Params.description }}"description": "{{ . | safeJS }}",{{ end }} {{ with .Site.LanguageCode }}"inLanguage": "{{ . }}",{{ end }} "url": "{{ (site.GetPage "/").Permalink | safeURL }}", + {{ with .Site.Params.keywords }}"keywords": {{ . }},{{ end }} "publisher" : { "@type": "Person", - "name": "{{ .Site.Author.name | safeJS }}", - }, - {{ with .Site.Params.keywords }}"keywords": {{ . }},{{ end }} + "name": "{{ .Site.Author.name | safeJS }}" + } } {{ else if .IsPage }}