From 5ca2d2953799f896d0c2bcd92696034571b532b5 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Tue, 20 Dec 2022 21:13:51 +0530 Subject: [PATCH 01/34] Fix multi-line anchor tags not highlighted/underlined. fixes: #1107 --- assets/css/common/post-single.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 0f569bf5..ba6e5a23 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -72,6 +72,8 @@ .post-content a, .toc a:hover { box-shadow: 0 1px 0; + box-decoration-break: clone; + -webkit-box-decoration-break: clone; } .post-content a code { From bf0883adb520a32d0d9d6b15080dae6e7882a372 Mon Sep 17 00:00:00 2001 From: Eran Israeli Date: Sat, 24 Dec 2022 17:19:02 +0200 Subject: [PATCH 02/34] Update Hebrew translation (#1104) Signed-off-by: Eran Israeli --- i18n/he.yaml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/i18n/he.yaml b/i18n/he.yaml index 6d203f4d..3912fb8d 100644 --- a/i18n/he.yaml +++ b/i18n/he.yaml @@ -1,19 +1,33 @@ - id: prev_page - translation: "לעמוד הקודם" + translation: "קודם" - id: next_page - translation: "לעמוד הבא" + translation: "הבא" - id: read_time translation: one : "דקה אחת" - other: "{{ .Count }} דקות" + other: "דקות {{ .Count }}" + +- id: words + translation: + one : "word" + other: "מילים {{ .Count }} " - id: toc - translation: "תוכן עניינים" + translation: "תוכן העניינים" - id: translations translation: "תרגומים" - id: home - translation: "דף בית" + translation: "בית" + +- id: edit_post + translation: "ערוך" + +- id: code_copy + translation: "העתק" + +- id: code_copied + translation: "!הועתק" From d3d90be8a4ea04433d95d02a1dc07b0014c5b8b8 Mon Sep 17 00:00:00 2001 From: Nikita <3787035+niturk@users.noreply.github.com> Date: Sat, 24 Dec 2022 18:21:10 +0300 Subject: [PATCH 03/34] Improve Turkish Translation tr.yaml (#1098) --- i18n/tr.yaml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/i18n/tr.yaml b/i18n/tr.yaml index e598b41e..d11ef210 100644 --- a/i18n/tr.yaml +++ b/i18n/tr.yaml @@ -1,14 +1,19 @@ - id: prev_page - translation: "Önceki Sayfa" + translation: "Önceki" - id: next_page - translation: "Sonraki Sayfa" + translation: "Sonraki" - id: read_time translation: one : "1 dk" other: "{{ .Count }} dk" +- id: words + translation: + one : "kelime" + other: "{{ .Count }} kelime" + - id: toc translation: "İçindekiler" @@ -18,6 +23,9 @@ - id: home translation: "Anasayfa" +- id: edit_post + translation: "Düzenle" + - id: code_copy translation: "Kopyala" From 4152dc75e8eae29f58effdb6e6500805d282e84b Mon Sep 17 00:00:00 2001 From: Essa Alshammri Date: Sat, 4 Feb 2023 09:40:27 +0300 Subject: [PATCH 04/34] update arabic pagination translation (#1137) --- i18n/ar.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/ar.yaml b/i18n/ar.yaml index 11f50a2c..52990c28 100644 --- a/i18n/ar.yaml +++ b/i18n/ar.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "الصفحة السابقة" + translation: "السابق" - id: next_page - translation: "الصفحة التالية" + translation: "التالي" - id: read_time translation: @@ -20,3 +20,9 @@ - id: home translation: "الصفحة الرئيسية" + +- id: code_copied + translation: "تم النسخ!" + +- id: code_copy + translation: "نسخ الكود" From 2b5f00640d83f001fec9e27ee6b119cdfad549d5 Mon Sep 17 00:00:00 2001 From: Igor Rodriguez <42983358+igorr0driguez@users.noreply.github.com> Date: Sat, 4 Feb 2023 03:41:54 -0300 Subject: [PATCH 05/34] PT translation updated (#1124) Signed-off-by: igorr0driguez <42983358+igorr0driguez@users.noreply.github.com> --- i18n/pt.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/i18n/pt.yaml b/i18n/pt.yaml index f449de9c..ab06429c 100644 --- a/i18n/pt.yaml +++ b/i18n/pt.yaml @@ -19,3 +19,15 @@ - id: translations translation: "Traduções" + +- id: home + translation: "Início" + +- id: edit_post + translation: "Editar" + +- id: code_copy + translation: "copiar" + +- id: code_copied + translation: "copiado!" From ec017773415f7d37a96a594818b73ce40a3b4843 Mon Sep 17 00:00:00 2001 From: Andrey Mukamolov <4471821+fobo66@users.noreply.github.com> Date: Sat, 4 Feb 2023 08:43:10 +0200 Subject: [PATCH 06/34] Added Belarusian translations i18n/be.yaml (#1144) --- i18n/be.yaml | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 i18n/be.yaml diff --git a/i18n/be.yaml b/i18n/be.yaml new file mode 100644 index 00000000..22902ab8 --- /dev/null +++ b/i18n/be.yaml @@ -0,0 +1,39 @@ +- id: prev_page + translation: "Папярэдняя" + +- id: next_page + translation: "Наступная" + +- id: read_time + translation: + zero: "0 хвілін" + one: "1 хвіліна" + few: "{{ .Count }} хвіліны" + many: "{{ .Count }} хвілін" + other: "{{ .Count }} хвілін" + +- id: words + translation: + zero: "няма слоў" + one: "1 слова" + few: "{{ .Count }} слова" + many: "{{ .Count }} слоў" + other: "{{ .Count }} слова" + +- id: toc + translation: "Змест" + +- id: translations + translation: "Пераклады" + +- id: home + translation: "Галоўная" + +- id: edit_post + translation: "Рэдагаваць" + +- id: code_copy + translation: "капіяваць" + +- id: code_copied + translation: "скапіявана!" From d47a7d67fa67102020aa393484fe3547beeb74f6 Mon Sep 17 00:00:00 2001 From: Karpfly Date: Sat, 4 Feb 2023 07:43:43 +0100 Subject: [PATCH 07/34] updated Polish translation (#1148) --- i18n/pl.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i18n/pl.yaml b/i18n/pl.yaml index fdf6b0cb..edc0ce8d 100644 --- a/i18n/pl.yaml +++ b/i18n/pl.yaml @@ -9,6 +9,11 @@ one: "1 min" other: "{{ .Count }} min" +- id: words + translation: + one : "słowo" + other: "{{ .Count }} słów" + - id: toc translation: "Spis treści" From db75cdc9b8343d48706154ec9f4c164e1f6fe376 Mon Sep 17 00:00:00 2001 From: Axel Wagner Date: Sat, 4 Feb 2023 08:01:25 +0100 Subject: [PATCH 08/34] Add Tumblr Icon (#1115) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 49f5389f..18d7f522 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -585,6 +585,10 @@ c-14.7-15.1-2.1-40.5,19-37.7v12.3c-9.5-3-17.2,8-11.2,15.9c5.8,7.7,18.3,3.6,18.3-6.1c0,0,0-48.2,0-48.2c2.4,0,9.9,0,12.2,0v1.6 c0.7,7.4,6.1,13.4,13.3,15v0C65.4,19.3,65.6,19.4,65.9,19.4z"/> +{{- else if (eq $icon_name "tumblr") -}} + + + {{- else if (eq $icon_name "twitch") -}} From 33085a8b233ef6f3b897ef8b41c1b64254129b7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josh=20M=C3=BCller?= <39825267+theJoshMuller@users.noreply.github.com> Date: Sat, 4 Feb 2023 10:06:22 +0300 Subject: [PATCH 09/34] Add TryHackMe Icon (#1113) from Simple Icons https://github.com/simple-icons/simple-icons/blob/develop/icons/tryhackme.svg --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 18d7f522..9b070096 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -585,6 +585,10 @@ c-14.7-15.1-2.1-40.5,19-37.7v12.3c-9.5-3-17.2,8-11.2,15.9c5.8,7.7,18.3,3.6,18.3-6.1c0,0,0-48.2,0-48.2c2.4,0,9.9,0,12.2,0v1.6 c0.7,7.4,6.1,13.4,13.3,15v0C65.4,19.3,65.6,19.4,65.9,19.4z"/> +{{- else if (eq $icon_name "tryhackme") -}} + + + {{- else if (eq $icon_name "tumblr") -}} From 2347bb9c111e468c40d20cb0e02ec90f33e3f802 Mon Sep 17 00:00:00 2001 From: rais ilham Date: Sat, 4 Feb 2023 14:20:27 +0700 Subject: [PATCH 10/34] Add codeforces icon (#1092) From https://github.com/simple-icons/simple-icons --- layouts/partials/svg.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 9b070096..a9470ac1 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -96,6 +96,11 @@ +{{- else if (eq $icon_name "codeforces") -}} + + + {{- else if (eq $icon_name "cryptohack") -}} Date: Sat, 4 Feb 2023 08:22:02 +0100 Subject: [PATCH 11/34] Google scholar svg icon fixed, now unfilled curved line (#1064) --- layouts/partials/svg.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index a9470ac1..64318321 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -235,10 +235,10 @@ d="M1.503 9.678c-.83 0-1.5.67-1.5 1.5v1.63a1.5 1.5 0 103 0v-1.63c0-.83-.67-1.5-1.5-1.5zm20.994 0c-.83 0-1.5.67-1.5 1.5v1.63a1.5 1.5 0 103 0v-1.63c0-.83-.67-1.5-1.5-1.5zM6.68 14.587c-.83 0-1.5.67-1.5 1.5v1.63a1.5 1.5 0 103 0v-1.62c0-.83-.67-1.5-1.5-1.5zm0-9.817c-.83 0-1.5.67-1.5 1.5v5.357a1.5 1.5 0 003 0V6.258c0-.83-.67-1.5-1.5-1.5zm10.638 0c-.83 0-1.5.67-1.5 1.5v1.64a1.5 1.5 0 003 0V6.27c0-.83-.67-1.5-1.5-1.5zM12 0c-.83 0-1.5.67-1.5 1.5v1.63a1.5 1.5 0 103 0V1.5c0-.83-.67-1.499-1.5-1.499zm0 19.355c-.83 0-1.5.67-1.5 1.5v1.64a1.5 1.5 0 103 .01v-1.64c0-.82-.67-1.5-1.5-1.5zm5.319-8.457c-.83 0-1.5.68-1.5 1.5v5.328a1.5 1.5 0 003 0v-5.329c0-.83-.67-1.5-1.5-1.5zM12 6.128c-.83 0-1.5.68-1.5 1.5v8.728a1.5 1.5 0 003 0V7.638c0-.83-.67-1.5-1.5-1.5z"/> {{- else if (eq $icon_name "googlescholar") -}} - + d="M5.242 13.769L0.5 9.5 12 1l11.5 9-5.242 3.769C17.548 11.249 14.978 9.5 12 9.5c-2.977 0-5.548 1.748-6.758 4.269zM12 10a7 7 0 1 0 0 14 7 7 0 0 0 0-14z" /> {{- else if (eq $icon_name "gurushots") -}} Date: Sat, 4 Feb 2023 19:52:53 +0800 Subject: [PATCH 12/34] Add netease cloud music icon (#1093) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 64318321..53e55569 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -397,6 +397,10 @@ +{{- else if (eq $icon_name "neteasecloudmusic") -}} + + + {{- else if (eq $icon_name "nuget") -}} From 4d42965bb517b864ad60ff1bc61548cc49e54777 Mon Sep 17 00:00:00 2001 From: k-yone <9046344+k-yone@users.noreply.github.com> Date: Sat, 4 Feb 2023 21:04:21 +0900 Subject: [PATCH 13/34] Add title to the image tag in rss.xml (#1105) Ref: https://cyber.harvard.edu/rss/rss.html#ltimagegtSubelementOfLtchannelgt --- layouts/_default/rss.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 134d50d4..44f14986 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -18,6 +18,7 @@ Recent content {{ if ne .Title site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ site.Title }} {{- with site.Params.images }} + {{ site.Title }} {{ index . 0 | absURL }} {{ index . 0 | absURL }} From a35a33c2e19a58e03a82356e0d83bd722563603c Mon Sep 17 00:00:00 2001 From: Jingchao Date: Sat, 4 Feb 2023 20:12:27 +0800 Subject: [PATCH 14/34] Add douban and zhihu icon (#1084) --- layouts/partials/svg.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 53e55569..08aaf990 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -160,6 +160,13 @@ +{{- else if (eq $icon_name "douban") -}} + + + + + {{- else if (eq $icon_name "dreamstime") -}} @@ -657,6 +664,11 @@ +{{- else if (eq $icon_name "zhihu") -}} + + + {{- else if $icon_name -}} From 35643680d2f71d1e393f1c42d0789bc51f1b1345 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 4 Feb 2023 17:58:07 +0530 Subject: [PATCH 15/34] Update README --- README.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 286617a9..51787750 100644 --- a/README.md +++ b/README.md @@ -6,17 +6,15 @@ > Hugo PaperMod is a theme based on [hugo-paper](https://github.com/nanxiaobei/hugo-paper). > The goal of this project is to add more features and customization to the og theme. -The [demo](https://adityatelange.github.io/hugo-PaperMod/) includes a lot of documentation about Installation, Features with a few more stuff. Make sure you visit it, to get an awesome hands-on experience and get to know about the features ... +**Documentation** can be found here: [**📚 Wiki**](https://github.com/adityatelange/hugo-PaperMod/wiki) -**ExampleSite** can be found here: [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite). Demo is built up with [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) as source. +**ExampleSite** can be found here: [**exampleSite**](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite). Demo is built up with [exampleSite](https://github.com/adityatelange/hugo-PaperMod/tree/exampleSite) as source. -[![Minimum Hugo Version](https://img.shields.io/static/v1?label=min-HUGO-version&message=0.83.0&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.83.0) -[![Build GH-Pages](https://github.com/adityatelange/hugo-PaperMod/workflows/Build%20GH-Pages/badge.svg)](https://github.com/adityatelange/hugo-PaperMod/deployments/activity_log?environment=github-pages) -[![GitHub](https://img.shields.io/github/license/adityatelange/hugo-PaperMod)](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE) [![hugo-papermod](https://img.shields.io/badge/Hugo--Themes-@PaperMod-blue)](https://themes.gohugo.io/themes/hugo-papermod/) -[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=adityatelange_hugo-PaperMod&metric=alert_status)](https://sonarcloud.io/dashboard?id=adityatelange_hugo-PaperMod) -![code-size](https://img.shields.io/github/languages/code-size/adityatelange/hugo-PaperMod) +[![Minimum Hugo Version](https://img.shields.io/static/v1?label=min-HUGO-version&message=0.83.0&color=blue&logo=hugo)](https://github.com/gohugoio/hugo/releases/tag/v0.83.0) [![Discord](https://img.shields.io/discord/971046860317921340?label=Discord)](https://discord.gg/ahpmTvhVmp) +[![GitHub](https://img.shields.io/github/license/adityatelange/hugo-PaperMod)](https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE) +![code-size](https://img.shields.io/github/languages/code-size/adityatelange/hugo-PaperMod) --- @@ -60,18 +58,18 @@ Read Wiki For More Details => **[PaperMod - Installation](https://github.com/adi --- -## Social-Icons/Share-Icons 🖼️ - -Read Wiki For More Details => **[PaperMod-Icons](https://github.com/adityatelange/hugo-PaperMod/wiki/Icons)** - ---- - ## FAQs / How To's Guide 🙋 Read Wiki For More Details => **[PaperMod-FAQs](https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs)** --- +## Social-Icons/Share-Icons 🖼️ + +Read Wiki For More Details => **[PaperMod-Icons](https://github.com/adityatelange/hugo-PaperMod/wiki/Icons)** + +--- + ## Release Changelog 📃 Release ChangeLog has info about stuff added: **[Releases](https://github.com/adityatelange/hugo-PaperMod/releases)** @@ -90,7 +88,8 @@ Release ChangeLog has info about stuff added: **[Releases](https://github.com/ad - [**Simple Icons**](https://github.com/simple-icons/simple-icons) - **All Contributors and Supporters** +--- + ## Stargazers over time 📈 [![Stargazers over time](https://starchart.cc/adityatelange/hugo-PaperMod.svg)](https://starchart.cc/adityatelange/hugo-PaperMod) - From 8efba34fa9e31fb27ab8e7f7fa26d525bab6fc09 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 12 Feb 2023 12:21:40 +0530 Subject: [PATCH 16/34] Update License year --- LICENSE | 2 +- assets/css/core/license.css | 2 +- assets/js/license.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 1580f7f1..34f08856 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ MIT License Copyright (c) 2020 nanxiaobei and adityatelange -Copyright (c) 2021-2022 adityatelange +Copyright (c) 2021-2023 adityatelange Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/assets/css/core/license.css b/assets/css/core/license.css index 8e81d229..2566b3bc 100644 --- a/assets/css/core/license.css +++ b/assets/css/core/license.css @@ -2,5 +2,5 @@ PaperMod v6 License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE Copyright (c) 2020 nanxiaobei and adityatelange - Copyright (c) 2021-2022 adityatelange + Copyright (c) 2021-2023 adityatelange */ diff --git a/assets/js/license.js b/assets/js/license.js index 8e81d229..2566b3bc 100644 --- a/assets/js/license.js +++ b/assets/js/license.js @@ -2,5 +2,5 @@ PaperMod v6 License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE Copyright (c) 2020 nanxiaobei and adityatelange - Copyright (c) 2021-2022 adityatelange + Copyright (c) 2021-2023 adityatelange */ From 25e5b4d2982aacfee9a1194d2738db284c2ac380 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 12 Feb 2023 12:23:08 +0530 Subject: [PATCH 17/34] Tag Release 7.0 --- assets/css/core/license.css | 2 +- assets/js/license.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/core/license.css b/assets/css/core/license.css index 2566b3bc..62340074 100644 --- a/assets/css/core/license.css +++ b/assets/css/core/license.css @@ -1,5 +1,5 @@ /* - PaperMod v6 + PaperMod v7 License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE Copyright (c) 2020 nanxiaobei and adityatelange Copyright (c) 2021-2023 adityatelange diff --git a/assets/js/license.js b/assets/js/license.js index 2566b3bc..62340074 100644 --- a/assets/js/license.js +++ b/assets/js/license.js @@ -1,5 +1,5 @@ /* - PaperMod v6 + PaperMod v7 License: MIT https://github.com/adityatelange/hugo-PaperMod/blob/master/LICENSE Copyright (c) 2020 nanxiaobei and adityatelange Copyright (c) 2021-2023 adityatelange From e6b697f3651291bb59176e01881863c14ee3c211 Mon Sep 17 00:00:00 2001 From: Michail Angelos Tsiantakis <29160070+aggellos2001@users.noreply.github.com> Date: Sat, 18 Feb 2023 09:11:12 +0200 Subject: [PATCH 18/34] Add support for Greek, Modern el.yaml (#1160) --- i18n/el.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 i18n/el.yaml diff --git a/i18n/el.yaml b/i18n/el.yaml new file mode 100644 index 00000000..4257bac8 --- /dev/null +++ b/i18n/el.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: "αντιγράφηκε!" \ No newline at end of file From b43af19b11208cccdd6be81017484e96cc912867 Mon Sep 17 00:00:00 2001 From: Sawa <48425020+SawaTszm@users.noreply.github.com> Date: Sat, 4 Mar 2023 22:27:37 +0900 Subject: [PATCH 19/34] change i18n next prev in japanese (#1167) --- i18n/ja.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/ja.yaml b/i18n/ja.yaml index bc7bf377..93948d37 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "前のページ" + translation: "前へ" - id: next_page - translation: "次のページ" + translation: "次へ" - id: read_time translation: From 494d6d5dff9ecfcd6ff1bf8b098be9ad65d67037 Mon Sep 17 00:00:00 2001 From: Matteo Contrini Date: Sat, 4 Mar 2023 18:02:34 +0100 Subject: [PATCH 20/34] Improve Italian translation (#1166) --- i18n/it.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/i18n/it.yaml b/i18n/it.yaml index ef41db4e..54eb4896 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "Pag Prec" + translation: "Precedente" - id: next_page - translation: "Pag Succ" + translation: "Successivo" - id: read_time translation: @@ -20,6 +20,12 @@ - id: translations translation: "Traduzioni" +- id: home + translation: "Home" + +- id: edit_post + translation: "Modifica" + - id: code_copy translation: "copia" From d67462d0f3f22cc5687f73f1edd454aa9cfa3800 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 4 Mar 2023 23:12:18 +0530 Subject: [PATCH 21/34] Fix incorrect 'it' translations https://github.com/adityatelange/hugo-PaperMod/pull/1166#discussion_r1125504542 --- i18n/it.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/it.yaml b/i18n/it.yaml index 54eb4896..c87c95d0 100644 --- a/i18n/it.yaml +++ b/i18n/it.yaml @@ -15,7 +15,7 @@ other: "{{ .Count }} parole" - id: toc - translation: "Tabella dei Contenuti" + translation: "Indice contenuti" - id: translations translation: "Traduzioni" From 2210bf20b3650b77dc9fdb9d279bc8e8af606993 Mon Sep 17 00:00:00 2001 From: Hauke Date: Fri, 31 Mar 2023 18:03:56 +0200 Subject: [PATCH 22/34] change del element decoration to line-through (#1181) According to caniuse.com only around 69% of mobile user and 22% desktop users use a browser that supports this element. Therefore this change uses text-decoration: line-through to archive the same effect across browsers. --- assets/css/common/post-single.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index ba6e5a23..47b9888c 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -83,8 +83,7 @@ } .post-content del { - text-decoration: none; - background: linear-gradient(to right, var(--primary) 100%, transparent 0) 0 50%/1px 1px repeat-x; + text-decoration: line-through; } .post-content dl, @@ -400,4 +399,4 @@ h1>a>svg { img.in-text { display: inline; margin: auto; -} \ No newline at end of file +} From a636c9eaee7e2d8603dd6e1f983c8a9ff27577ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Joly?= <7347374+cljoly@users.noreply.github.com> Date: Sat, 1 Apr 2023 19:28:19 +0100 Subject: [PATCH 23/34] Add RSS icon to archive pages (#1156) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If the setting “ShowRssButtonInSectionTermList” is true, I think it makes sense to also show the RSS icon by the title in archive pages, as we do for other article lists. This reuses the code of `layouts/_default/list.html`. --- layouts/_default/archives.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index e400e2c5..c6d40aeb 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -1,7 +1,19 @@ {{- define "main" }}

{{ .Title }}

+

+ {{ .Title }} + {{- if and (or (eq .Kind `term`) (eq .Kind `section`)) (.Param "ShowRssButtonInSectionTermList") }} + + + + + + + + {{- end }} +

{{- if .Description }}
{{ .Description }} From 1d151a4a0295ccd3901992d05cec81993d7a195e Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 2 Apr 2023 00:17:01 +0530 Subject: [PATCH 24/34] Revert "Add RSS icon to archive pages (#1156)" (#1183) This reverts commit a636c9eaee7e2d8603dd6e1f983c8a9ff27577ae. --- layouts/_default/archives.html | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html index c6d40aeb..e400e2c5 100644 --- a/layouts/_default/archives.html +++ b/layouts/_default/archives.html @@ -1,19 +1,7 @@ {{- define "main" }}