From 07759b794f380c589f1da481c9df245cff8344b2 Mon Sep 17 00:00:00 2001 From: Maciej Bromirski <50320623+Nevalicjus@users.noreply.github.com> Date: Sun, 4 Jun 2023 14:59:28 +0200 Subject: [PATCH 1/8] updated pl.yaml for #914 (#1229) --- i18n/pl.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/pl.yaml b/i18n/pl.yaml index edc0ce8..81b0e77 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "Poprzednia strona" + translation: "Poprzednia" - id: next_page - translation: "Następna strona" + translation: "Następna" - id: read_time translation: From 4a924cef54081b61530a30bd69d442ae95f16561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Vincent?= <28714795+leovct@users.noreply.github.com> Date: Sun, 4 Jun 2023 14:59:55 +0200 Subject: [PATCH 2/8] chore: update french translations (#1222) Related to #914 --- i18n/fr.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/fr.yaml b/i18n/fr.yaml index b074c10..e48d8e9 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "Page précédente" + translation: "Précédent" - id: next_page - translation: "Page suivante" + translation: "Suivant" - id: read_time translation: From 8ac719fb568b67225af2962cbce898c20c7c6f46 Mon Sep 17 00:00:00 2001 From: Geeqla <1140778+geeqla@users.noreply.github.com> Date: Sun, 9 Jul 2023 07:38:57 +0200 Subject: [PATCH 3/8] Add social icon for Threads (#1256) --- layouts/partials/svg.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index e224640..2877b12 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -589,13 +589,16 @@ - {{- else if (eq $icon_name "telegram") -}} +{{- else if (eq $icon_name "threads") -}} + + + {{- else if (eq $icon_name "threema") -}} @@ -613,7 +616,7 @@ {{- else if (eq $icon_name "tumblr") -}} - + {{- else if (eq $icon_name "twitch") -}} Date: Sun, 9 Jul 2023 01:40:07 -0400 Subject: [PATCH 4/8] Add social icon for Tidal (#1259) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 2877b12..35eb30f 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -603,6 +603,10 @@ +{{- else if (eq $icon_name "tidal") -}} + + + {{- else if (eq $icon_name "tiktok") -}} From 804a8682f3f060e17a1a6f101704af2990834712 Mon Sep 17 00:00:00 2001 From: Tarak Parab <115934474+tarakparab@users.noreply.github.com> Date: Sun, 9 Jul 2023 11:10:43 +0530 Subject: [PATCH 5/8] Icon for Google Play Store (#1242) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 35eb30f..79980b1 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -236,6 +236,10 @@ +{{- else if (eq $icon_name "googleplaystore") -}} + + + {{- else if (eq $icon_name "googlepodcasts") -}} Date: Sat, 15 Jul 2023 13:22:30 +0700 Subject: [PATCH 6/8] Create translations for Thai (th.yaml) (#1252) --- i18n/th.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 i18n/th.yaml diff --git a/i18n/th.yaml b/i18n/th.yaml new file mode 100644 index 0000000..d8036ae --- /dev/null +++ b/i18n/th.yaml @@ -0,0 +1,33 @@ +- id: prev_page + translation: "ก่อนหน้า" + +- id: next_page + translation: "ถัดไป" + +- id: read_time + translation: + one : "1 นาที" + other: "{{ .Count }} นาที" + +- id: words + translation: + one : "คำ" + other: "{{ .Count }} คำ" + +- id: toc + translation: "สารบัญ" + +- id: translations + translation: "การแปล" + +- id: home + translation: "หน้าหลัก" + +- id: edit_post + translation: "แก้ไข" + +- id: code_copy + translation: "คัดลอก" + +- id: code_copied + translation: "คัดลอกแล้ว!" From 74d288ff944e21238982282a1dc00b3af445a92c Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Sun, 23 Jul 2023 10:30:36 +0200 Subject: [PATCH 7/8] Bump GitHub workflow actions to latest versions (#1267) ref: https://github.com/actions/starter-workflows/blob/main/pages/hugo.yml --- .github/workflows/gh-pages.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 4f59e30..c7b8351 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -53,7 +53,7 @@ jobs: ref: exampleSite - name: Setup Pages id: pages - uses: actions/configure-pages@v1 + uses: actions/configure-pages@v3 - name: Get Theme run: git submodule update --init --recursive - name: Update theme to Latest commit @@ -64,7 +64,7 @@ jobs: --buildDrafts --gc --verbose \ --baseURL ${{ steps.pages.outputs.base_url }} - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: path: ./public # Deployment job @@ -77,4 +77,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v2 From 61bf918a0d4a3dbab18bc23033628f0a01ed0e39 Mon Sep 17 00:00:00 2001 From: Andreas Deininger Date: Sun, 23 Jul 2023 10:32:18 +0200 Subject: [PATCH 8/8] socialIcons, fix: apply safeURL to make all URI schemes work (#1266) --- layouts/partials/social_icons.html | 2 +- layouts/partials/templates/schema_json.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 3f8d6a3..876b77c 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,6 +1,6 @@
{{- range . }} - + {{ partial "svg.html" . }} {{- end }} diff --git a/layouts/partials/templates/schema_json.html b/layouts/partials/templates/schema_json.html index 74abbb5..435cba5 100644 --- a/layouts/partials/templates/schema_json.html +++ b/layouts/partials/templates/schema_json.html @@ -11,7 +11,7 @@ {{- if site.Params.schema.sameAs }} {{ range $i, $e := site.Params.schema.sameAs }}{{ if $i }}, {{ end }}{{ trim $e " " }}{{ end }} {{- else}} - {{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " }}{{ end }} + {{ range $i, $e := site.Params.SocialIcons }}{{ if $i }}, {{ end }}{{ trim $e.url " " | safeURL }}{{ end }} {{- end}} ] }