From eddcf975762e20353895fa4bbd230038f37687ad Mon Sep 17 00:00:00 2001 From: David <62346025+aboutDavid@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:02:06 -0500 Subject: [PATCH 1/3] Add "language" value to update jsonfeed to v1.1 --- _data/metadata.json | 1 + 1 file changed, 1 insertion(+) diff --git a/_data/metadata.json b/_data/metadata.json index 24113d7..86cc35d 100755 --- a/_data/metadata.json +++ b/_data/metadata.json @@ -1,6 +1,7 @@ { "title": "Your Blog Name", "url": "https://example.com/", + "language": "en-US", "description": "I am writing about my experiences as a naval navel-gazer.", "feed": { "subtitle": "I am writing about my experiences as a naval navel-gazer.", From a2cec1d3b5fb1fb7c8a073d0c3feb19adaacbc92 Mon Sep 17 00:00:00 2001 From: David <62346025+aboutDavid@users.noreply.github.com> Date: Mon, 30 Nov 2020 22:04:23 -0500 Subject: [PATCH 2/3] Add language field/bump version to 1.1 --- feed/json.njk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/feed/json.njk b/feed/json.njk index 0658efa..b8b9f75 100644 --- a/feed/json.njk +++ b/feed/json.njk @@ -4,8 +4,9 @@ permalink: "{{ metadata.jsonfeed.path }}" eleventyExcludeFromCollections: true --- { - "version": "https://jsonfeed.org/version/1", + "version": "https://jsonfeed.org/version/1.1", "title": "{{ metadata.title }}", + "language" "{{ metadata.language }}", "home_page_url": "{{ metadata.url }}", "feed_url": "{{ metadata.jsonfeed.url }}", "description": "{{ metadata.description }}", From ed5ba24988fd1c964ca827f8e224204f6c25b245 Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Wed, 17 Mar 2021 10:07:21 -0500 Subject: [PATCH 3/3] Change to more generic two letter code Read more: https://jsonfeed.org/version/1.1 --- _data/metadata.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/metadata.json b/_data/metadata.json index 86cc35d..5b9517f 100755 --- a/_data/metadata.json +++ b/_data/metadata.json @@ -1,7 +1,7 @@ { "title": "Your Blog Name", "url": "https://example.com/", - "language": "en-US", + "language": "en", "description": "I am writing about my experiences as a naval navel-gazer.", "feed": { "subtitle": "I am writing about my experiences as a naval navel-gazer.",