diff --git a/CHANGELOG.md b/CHANGELOG.md index 4009ba35..6fc1974f 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 25a7e422..ead2d1f8 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 %} diff --git a/test/_config.yml b/test/_config.yml index e0ef5473..e9b547f4 100644 --- a/test/_config.yml +++ b/test/_config.yml @@ -84,6 +84,8 @@ social: type : # Person or Organization (defaults to Person) name : # If the user or organization name differs from the site's name links: # An array of links to social media profiles + - https://twitter.com/ + - https://github.com/ # Analytics analytics: