From 5f596f251f97df520e15e21dc64aaf1c54c938ef Mon Sep 17 00:00:00 2001 From: Olivier Lacan Date: Sun, 5 Mar 2023 23:36:54 -0800 Subject: [PATCH] Convert all links to JSON data This will remove a lot of redundant variable definitions from Haml translations and centralize everything so it's much easier to update links when the invariably change. As they have. --- data/links.json | 13 +++++++++++ source/ar/1.0.0/index.html.haml | 33 ++++++++------------------ source/cs/1.0.0/index.html.haml | 31 ++++++++----------------- source/da/1.1.0/index.html.haml | 37 ++++++++++-------------------- source/de/1.0.0/index.html.haml | 31 ++++++++----------------- source/en/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/en/1.1.0/index.html.haml | 37 ++++++++++-------------------- source/es-ES/1.0.0/index.html.haml | 29 ++++++++--------------- source/fa-IR/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/fr/1.0.0/index.html.haml | 29 ++++++++--------------- source/hr/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/id-ID/1.0.0/index.html.haml | 33 ++++++++------------------ source/it-IT/1.0.0/index.html.haml | 31 ++++++++----------------- source/ja/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/ja/1.1.0/index.html.haml | 37 ++++++++++-------------------- source/ka/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/ko/1.0.0/index.html.haml | 31 ++++++++----------------- source/nb/1.1.0/index.html.haml | 37 ++++++++++-------------------- source/nl/1.0.0/index.html.haml | 31 ++++++++----------------- source/nl/1.1.0/index.html.haml | 31 ++++++++----------------- source/pl/1.0.0/index.html.haml | 31 ++++++++----------------- source/pt-BR/1.0.0/index.html.haml | 31 ++++++++----------------- source/ru/1.0.0/index.html.haml | 35 +++++++++------------------- source/ru/1.1.0/index.html.haml | 35 +++++++++------------------- source/sk/1.0.0/index.html.haml | 31 ++++++++----------------- source/sr/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/sv/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/tr-TR/1.0.0/index.html.haml | 31 ++++++++----------------- source/tr-TR/1.1.0/index.html.haml | 31 ++++++++----------------- source/uk/1.0.0/index.html.haml | 37 ++++++++++-------------------- source/zh-CN/1.0.0/index.html.haml | 31 ++++++++----------------- source/zh-TW/1.0.0/index.html.haml | 33 ++++++++------------------ 32 files changed, 347 insertions(+), 709 deletions(-) create mode 100644 data/links.json diff --git a/data/links.json b/data/links.json new file mode 100644 index 0000000..a57a795 --- /dev/null +++ b/data/links.json @@ -0,0 +1,13 @@ +{ + "changelog": "https://github.com/olivierlacan/keep-a-changelog/blob/main/CHANGELOG.md", + "gh": "https://github.com/olivierlacan/keep-a-changelog", + "issues": "https://github.com/olivierlacan/keep-a-changelog/issues", + "semver": "https://semver.org/", + "shields": "https://shields.io/", + "thechangelog": "https://changelog.com/podcast/127", + "vandamme": "https://github.com/tech-angels/vandamme/", + "isodate": "http://www.iso.org/iso/home/standards/iso8601.htm", + "github_releases": "https://help.github.com/articles/creating-releases/", + "gnustyle": "https://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs", + "gnunews": "https://www.gnu.org/prep/standards/html_node/NEWS-File.html#NEWS-File" +} \ No newline at end of file diff --git a/source/ar/1.0.0/index.html.haml b/source/ar/1.0.0/index.html.haml index 284933c..0db9ee3 100644 --- a/source/ar/1.0.0/index.html.haml +++ b/source/ar/1.0.0/index.html.haml @@ -4,19 +4,6 @@ title: احتفظ بسجل التغيير language: ar version: 1.0.0 --- - -- changelog = "https://github.com/olivierlacan/keep-a-changelog/blob/main/CHANGELOG.md" -- gh = "https://github.com/olivierlacan/keep-a-changelog" -- issues = "https://github.com/olivierlacan/keep-a-changelog/issues" -- semver = "https://semver.org/" -- shields = "https://shields.io/" -- thechangelog = "https://changelog.com/podcast/127" -- vandamme = "https://github.com/tech-angels/vandamme/" -- iso = "http://www.iso.org/iso/home/standards/iso8601.htm" -- ghr = "https://help.github.com/articles/creating-releases/" -- gnustyle = "https://www.gnu.org/prep/standards/html_node/Style-of-Change-Logs.html#Style-of-Change-Logs" -- gnunews = "https://www.gnu.org/prep/standards/html_node/NEWS-File.html#NEWS-File" -