From 0042e585e462bb4df7c5a167682a1842bd5365c6 Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Fri, 9 Aug 2019 09:58:39 -0400 Subject: [PATCH] Fix `site.url` in Organization/Person JSON-LD schema Close #1906 --- CHANGELOG.md | 1 + _includes/seo.html | 33 +++++++++++++-------------------- 2 files changed, 14 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4009ba3..6fc1974 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ ### Bug Fixes +- Fix `site.url` in Organization/Person JSON-LD schema. [#1906](https://github.com/mmistakes/minimal-mistakes/issues/1906) - Remove full stop in some `comment_form_info` UI text strings. [#2220](https://github.com/mmistakes/minimal-mistakes/pull/2220) - Fix default `site.author` in seo.html [#2230](https://github.com/mmistakes/minimal-mistakes/pull/2230) - Fix overlapping links (linked to and post's permalink) in post link type. [#2222](https://github.com/mmistakes/minimal-mistakes/issues/2222) diff --git a/_includes/seo.html b/_includes/seo.html index 25a7e42..ead2d1f 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -127,28 +127,21 @@ {% endif %} -{% if site.og_image %} - -{% endif %} - -{% if site.social %} - -{% endif %} + "url": {{ '/' | absolute_url |jsonify }}{% if site.social.links %}, + "sameAs": {{ site.social.links | jsonify }}{% endif %} + {% endif %} + } + {% if site.google_site_verification %} -- 2.43.0