From 42fa989316c8630ca2adbc41a668aa2fe7574b5c Mon Sep 17 00:00:00 2001 From: Netruk44 Date: Fri, 5 Aug 2022 23:39:58 -0700 Subject: [PATCH 01/23] Add optional custom "title" for social links (#999) Co-authored-by: Aditya Telange <21258296+adityatelange@users.noreply.github.com> --- layouts/partials/social_icons.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/social_icons.html b/layouts/partials/social_icons.html index 7c16e30e..3f8d6a35 100644 --- a/layouts/partials/social_icons.html +++ b/layouts/partials/social_icons.html @@ -1,6 +1,6 @@
{{- range . }} - + {{ partial "svg.html" . }} {{- end }} From 3e544a3ebd21008f8119cbd8971f74fe2c958374 Mon Sep 17 00:00:00 2001 From: Mehedi Hasan <0xmehedi@tutanota.com> Date: Sat, 6 Aug 2022 12:40:41 +0600 Subject: [PATCH 02/23] Updating pagination strings for bn: (#1002) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit "পরবর্তী পাতা" -> "পরবর্তী" & "পূর্বের পাতা" -> "পূর্ববর্তী" --- i18n/bn.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 9fdafd16..9c5a2c44 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "পূর্বের পাতা" + translation: "পূর্ববর্তী" - id: next_page - translation: "পরবর্তী পাতা" + translation: "পরবর্তী" - id: read_time translation: From 7c4aa74069173e1a8f9830dbf307f5a81bc2e9fa Mon Sep 17 00:00:00 2001 From: "Hattomo (TomohiroHattori)" <45988993+Hattomo@users.noreply.github.com> Date: Fri, 12 Aug 2022 23:12:09 +0900 Subject: [PATCH 03/23] Add more ja translations (#1004) --- i18n/ja.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/i18n/ja.yaml b/i18n/ja.yaml index c286ef9e..bc7bf377 100644 --- a/i18n/ja.yaml +++ b/i18n/ja.yaml @@ -9,8 +9,25 @@ 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 6f0c88d2b8f5e0a24a0975e69dd1b81f4210e330 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 15 Aug 2022 18:41:44 +0530 Subject: [PATCH 04/23] pages: use github actions as build source - remove older build config (Classic Pages) --- .github/workflows/build.yml | 37 ------------------ .github/workflows/gh-pages.yml | 71 +++++++++++++++++++++++++--------- 2 files changed, 52 insertions(+), 56 deletions(-) delete mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 2da8f8f2..00000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Build - -on: - pull_request: - branches: - - master - - exampleSite - workflow_dispatch: - # manual run - inputs: - hugoVersion: - description: "Hugo Version" - required: false - default: "0.83.0" - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Git checkout - uses: actions/checkout@v2 - with: - ref: exampleSite - - - name: Get Theme - run: git submodule update --init --recursive - - - name: Update theme to Latest commit - run: git submodule update --remote --merge - - - name: Setup hugo - uses: peaceiris/actions-hugo@v2 - with: - hugo-version: "${{ github.event.inputs.hugoVersion }}" - - - name: Build - run: hugo --buildDrafts --gc --verbose --minify diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 75033f82..305a6dec 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -1,4 +1,4 @@ -name: Build GH-Pages +name: Deploy Hugo PaperMod Demo to Pages on: push: @@ -17,31 +17,64 @@ on: required: false default: "0.83.0" +# Allow one concurrent deployment +concurrency: + group: "pages" + cancel-in-progress: true + +# Default to bash +defaults: + run: + shell: bash + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + jobs: - deploy: + # Build job + build: runs-on: ubuntu-latest + env: + HUGO_VERSION: "0.83.0" steps: - - name: Git checkout - uses: actions/checkout@v2 + - name: Check version + if: ${{ github.event.inputs.hugoVersion }} + run: export HUGO_VERSION="${{ github.event.inputs.hugoVersion }}" + - name: Install Hugo CLI + run: | + wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.deb \ + && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Checkout + uses: actions/checkout@v3 with: ref: exampleSite - + - name: Setup Pages + id: pages + uses: actions/configure-pages@v1 - name: Get Theme run: git submodule update --init --recursive - - name: Update theme to Latest commit run: git submodule update --remote --merge - - - name: Setup hugo - uses: peaceiris/actions-hugo@v2 + - name: Build with Hugo + run: | + hugo \ + --buildDrafts --gc --verbose \ + --baseURL ${{ steps.pages.outputs.base_url }} + - name: Upload artifact + uses: actions/upload-pages-artifact@v1 with: - hugo-version: "${{ github.event.inputs.hugoVersion }}" - - - name: Build - run: hugo --buildDrafts --gc --verbose --minify - - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.TOKEN }} - publish_dir: ./public + path: ./public + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v1 From eba92edd83acb8a6a679cd58d440e22d5c31f822 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Mon, 15 Aug 2022 19:25:55 +0530 Subject: [PATCH 05/23] Feat: Add page nums in list pages In site config => Params: ShowPageNums: true --- layouts/_default/list.html | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 01ba7525..5d6afc2f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -87,10 +87,20 @@ From 84f9adfa5f5f1ccd6dc352f660fc68ba820733a0 Mon Sep 17 00:00:00 2001 From: pabloscloud <93644977+pabloscloud@users.noreply.github.com> Date: Fri, 19 Aug 2022 19:14:21 +0200 Subject: [PATCH 06/23] Adding threema as social icon (#1012) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 79b09ad0..e2079a9e 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -546,6 +546,10 @@ +{{- else if (eq $icon_name "threema") -}} + + + {{- else if (eq $icon_name "tiktok") -}} From fd077de0f42f1b150709c91499d3f5fa3a1304c3 Mon Sep 17 00:00:00 2001 From: ArtBIT Date: Fri, 19 Aug 2022 19:15:49 +0200 Subject: [PATCH 07/23] Add social icons for DeviantArt and Patreon (#1013) * Add DeviantArt social icon * Add Patreon social icon --- layouts/partials/svg.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index e2079a9e..1e1f9dc7 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -127,6 +127,11 @@ +{{- else if (eq $icon_name "deviantart") -}} + + + {{- else if (eq $icon_name "deezer") -}} +{{- else if (eq $icon_name "patreon") -}} + + + {{- else if (eq $icon_name "paypal") -}} From 198a4d74ae7546ac23068a0a1e26170e8bcfe95b Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 20 Aug 2022 14:20:51 +0530 Subject: [PATCH 08/23] Fix Code Smell: Unexpected var, use let or const instead. https://sonarcloud.io/project/issues?issues=AYEpqxwP3DjyH4ZzxfLw&open=AYEpqxwP3DjyH4ZzxfLw&id=adityatelange_hugo-PaperMod --- assets/js/fastsearch.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/assets/js/fastsearch.js b/assets/js/fastsearch.js index ea110221..02d1396a 100644 --- a/assets/js/fastsearch.js +++ b/assets/js/fastsearch.js @@ -1,21 +1,21 @@ import * as params from '@params'; -var fuse; // holds our search engine -var resList = document.getElementById('searchResults'); -var sInput = document.getElementById('searchInput'); -var first, last, current_elem = null -var resultsAvailable = false; +let fuse; // holds our search engine +let resList = document.getElementById('searchResults'); +let sInput = document.getElementById('searchInput'); +let first, last, current_elem = null +let resultsAvailable = false; // load our search index window.onload = function () { - var xhr = new XMLHttpRequest(); + let xhr = new XMLHttpRequest(); xhr.onreadystatechange = function () { if (xhr.readyState === 4) { if (xhr.status === 200) { - var data = JSON.parse(xhr.responseText); + let data = JSON.parse(xhr.responseText); if (data) { // fuse.js options; check fuse.js website for details - var options = { + let options = { distance: 100, threshold: 0.4, ignoreLocation: true, @@ -106,12 +106,12 @@ sInput.addEventListener('search', function (e) { // kb bindings document.onkeydown = function (e) { let key = e.key; - var ae = document.activeElement; + let ae = document.activeElement; let inbox = document.getElementById("searchbox").contains(ae) if (ae === sInput) { - var elements = document.getElementsByClassName('focus'); + let elements = document.getElementsByClassName('focus'); while (elements.length > 0) { elements[0].classList.remove('focus'); } From b906338dc82a48e0fa8c8d4160a09c8b07302472 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 20 Aug 2022 14:31:07 +0530 Subject: [PATCH 09/23] Add param 'hiddenInHomeList' to hide certain post from home page Usage => --- title: post name hiddenInHomeList: true --- --- layouts/_default/list.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 5d6afc2f..3a6f316e 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -40,6 +40,7 @@ {{- if .IsHome }} {{- $pages = where site.RegularPages "Type" "in" site.Params.mainSections }} +{{- $pages = where $pages "Params.hiddenInHomeList" "!=" "true" }} {{- end }} {{- $paginator := .Paginate $pages }} From 11a52b70cdf41d8229c967c08ce47d8df539dd5a Mon Sep 17 00:00:00 2001 From: WfKe9vLwSvv7rN <96372288+WfKe9vLwSvv7rN@users.noreply.github.com> Date: Sun, 28 Aug 2022 02:48:20 -0700 Subject: [PATCH 10/23] Fix spacing around `rawhtml` shortcode (#1018) Removes line break from generated HTML output. This line break renders in browsers as an unwanted space. --- layouts/shortcodes/rawhtml.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html index 520ec178..9350c13f 100644 --- a/layouts/shortcodes/rawhtml.html +++ b/layouts/shortcodes/rawhtml.html @@ -1,2 +1,2 @@ -{{.Inner}} \ No newline at end of file +{{- .Inner -}} \ No newline at end of file From 2009151773925d51b0ad5cef661fcc9b609b5a6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20Wr=C3=B3bel?= Date: Sun, 28 Aug 2022 11:50:38 +0200 Subject: [PATCH 11/23] Add icons for AniList and osu! (#1022) * Add anilist logo * Add osu logo --- layouts/partials/svg.html | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 1e1f9dc7..60632653 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -14,6 +14,12 @@ +{{- else if (eq $icon_name "anilist") -}} + + + {{- else if (eq $icon_name "applemusic") -}} @@ -404,6 +410,15 @@ d="M128 256C198.7 256 256 198.7 256 128C256 57.3 198.7 0 128 0C57.3 0 0 57.3 0 128C0 198.7 57.3 256 128 256ZM70.9 186.2H86.3V127.5V79.0999H70.9V186.2ZM108.9 79.0999H150.5C190.1 79.0999 207.5 107.4 207.5 132.7C207.5 160.2 186 186.3 150.7 186.3H108.9V79.0999ZM124.3 172.4H148.8C183.7 172.4 191.7 145.9 191.7 132.7C191.7 111.2 178 93 148 93H124.3V172.4ZM78.6 66.8999C84.2 66.8999 88.7 62.2999 88.7 56.7999C88.7 51.2999 84.2 46.7 78.6 46.7C73 46.7 68.5 51.2 68.5 56.7999C68.5 62.2999 73 66.8999 78.6 66.8999Z" fill="currentColor" /> +{{- else if (eq $icon_name "osu!") -}} + + + + + + {{- else if (eq $icon_name "overcast") -}} Date: Sun, 28 Aug 2022 11:50:53 +0200 Subject: [PATCH 12/23] Updating pagination strings for de (#1024) --- i18n/de.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i18n/de.yaml b/i18n/de.yaml index 47254190..f64aad97 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,8 +1,8 @@ - id: prev_page - translation: "Vorherige Seite" + translation: "Vorherige" - id: next_page - translation: "Nächste Seite" + translation: "Nächste" - id: read_time translation: From 0cf3f7ae008c20c8b0d287ae508081b7d2310b1f Mon Sep 17 00:00:00 2001 From: Pinfel Date: Sun, 28 Aug 2022 05:55:59 -0400 Subject: [PATCH 13/23] Fix spotify icon svg (#997) super minor fix for spotify icon, basically no change in functionality typo in 'stoke' but it looks better without that way anyways so i just changed it to none --- layouts/partials/svg.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 60632653..cdc7b233 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -532,7 +532,7 @@ {{- else if (eq $icon_name "spotify") -}} - + From 2761a956978548cbe5316f8a5f4e7969c241232a Mon Sep 17 00:00:00 2001 From: Pinfel Date: Sun, 28 Aug 2022 05:56:51 -0400 Subject: [PATCH 14/23] add sketchfab icon (#998) --- layouts/partials/svg.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index cdc7b233..49f5389f 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -511,6 +511,10 @@ +{{- else if (eq $icon_name "sketchfab") -}} + + + {{- else if (eq $icon_name "slack") -}} From 275d0e9be7a4d1b91c2105b5a7e836bf4f7f0a4c Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sun, 28 Aug 2022 15:40:40 +0530 Subject: [PATCH 15/23] Update bug report template Add Repo/Source where this issue can be reproduced --- .github/ISSUE_TEMPLATE/bug_report.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 109b1dfd..3e6cf7e0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -40,6 +40,9 @@ Please fill the template below **Expected behavior**: +**Repo/Source where this issue can be reproduced**: + + **Screenshots** From 1f0f294c85a2351099a69f633adf922a7642aaad Mon Sep 17 00:00:00 2001 From: bentonw414 <38533157+bentonw414@users.noreply.github.com> Date: Fri, 2 Sep 2022 12:02:32 -0400 Subject: [PATCH 16/23] Use Nullish Coalescing Operator with Fastsearch (#1033) --- assets/js/fastsearch.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/js/fastsearch.js b/assets/js/fastsearch.js index 02d1396a..06ebcfba 100644 --- a/assets/js/fastsearch.js +++ b/assets/js/fastsearch.js @@ -28,17 +28,17 @@ window.onload = function () { }; if (params.fuseOpts) { options = { - isCaseSensitive: params.fuseOpts.iscasesensitive ? params.fuseOpts.iscasesensitive : false, - includeScore: params.fuseOpts.includescore ? params.fuseOpts.includescore : false, - includeMatches: params.fuseOpts.includematches ? params.fuseOpts.includematches : false, - minMatchCharLength: params.fuseOpts.minmatchcharlength ? params.fuseOpts.minmatchcharlength : 1, - shouldSort: params.fuseOpts.shouldsort ? params.fuseOpts.shouldsort : true, - findAllMatches: params.fuseOpts.findallmatches ? params.fuseOpts.findallmatches : false, - keys: params.fuseOpts.keys ? params.fuseOpts.keys : ['title', 'permalink', 'summary', 'content'], - location: params.fuseOpts.location ? params.fuseOpts.location : 0, - threshold: params.fuseOpts.threshold ? params.fuseOpts.threshold : 0.4, - distance: params.fuseOpts.distance ? params.fuseOpts.distance : 100, - ignoreLocation: params.fuseOpts.ignorelocation ? params.fuseOpts.ignorelocation : true + isCaseSensitive: params.fuseOpts.iscasesensitive ?? false, + includeScore: params.fuseOpts.includescore ?? false, + includeMatches: params.fuseOpts.includematches ?? false, + minMatchCharLength: params.fuseOpts.minmatchcharlength ?? 1, + shouldSort: params.fuseOpts.shouldsort ?? true, + findAllMatches: params.fuseOpts.findallmatches ?? false, + keys: params.fuseOpts.keys ?? ['title', 'permalink', 'summary', 'content'], + location: params.fuseOpts.location ?? 0, + threshold: params.fuseOpts.threshold ?? 0.4, + distance: params.fuseOpts.distance ?? 100, + ignoreLocation: params.fuseOpts.ignorelocation ?? true } } fuse = new Fuse(data, options); // build the index from the json file From ddfea82cc75c93074194490df3805d28f7852248 Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Sat, 3 Sep 2022 16:06:39 +0530 Subject: [PATCH 17/23] Fix error with profileMode imageUrl on Windows devices when imageUrl was set with external link resources.Get throws an error Ref: https://github.com/gohugoio/hugo/commit/22ef5da20d1685dfe6aff3bd9364c9b1f1d0d8f8 fixes: #1019 --- layouts/partials/index_profile.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html index c2ff3e69..d9ddbda5 100644 --- a/layouts/partials/index_profile.html +++ b/layouts/partials/index_profile.html @@ -2,7 +2,10 @@ {{- with site.Params.profileMode }}
{{- if .imageUrl -}} - {{- $img := resources.Get .imageUrl }} + {{- $img := "" }} + {{- if not (urls.Parse .imageUrl).IsAbs }} + {{- $img = resources.Get .imageUrl }} + {{- end }} {{- if $img }} {{- $processableFormats := (slice "jpg" "jpeg" "png" "tif" "bmp" "gif") -}} {{- if hugo.IsExtended -}} From 3a0a4811cbc07c0bea09ef55b3c1bfb39b48cddd Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Sun, 20 Jun 2021 12:30:41 -0700 Subject: [PATCH 18/23] [PATCH] Fix date format in schema and opengraph templates cherry-picked from https://github.com/gohugoio/hugo/commit/34e4742f0caab0d3eb9efd00fce4157d112617b5 --- layouts/partials/templates/opengraph.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index 13e7b2bd..9e8df143 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -27,8 +27,8 @@ {{- if .IsPage }} {{- $iso8601 := "2006-01-02T15:04:05-07:00" -}} -{{ with .PublishDate }}{{ end }} -{{ with .Lastmod }}{{ end }} +{{ with .PublishDate }}{{ end }} +{{ with .Lastmod }}{{ end }} {{- end -}} {{- with .Params.audio }}{{ end }} From 3b83cdc4b577804e34eb39631f0551797256452a Mon Sep 17 00:00:00 2001 From: Tarun Kumar Jana <104967223+tarunjana@users.noreply.github.com> Date: Sat, 12 Nov 2022 13:05:30 +0530 Subject: [PATCH 19/23] Improve Bengali translation (#1086) Added the following id: - `words` --- i18n/bn.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/i18n/bn.yaml b/i18n/bn.yaml index 9c5a2c44..f42780f2 100644 --- a/i18n/bn.yaml +++ b/i18n/bn.yaml @@ -8,6 +8,11 @@ translation: one : "১ মিনিট" other: "{{ .Count }} মিনিট" + +- id: words + translation: + one : "১ টি শব্দ" + other: "{{ .Count }} টি শব্দ" - id: toc translation: "সূচিপত্র" From 4bd96d62719b044ba28380ad2cb06c57a631afca Mon Sep 17 00:00:00 2001 From: Ezqzy <69109181+Ezqzy@users.noreply.github.com> Date: Sat, 12 Nov 2022 08:37:33 +0100 Subject: [PATCH 20/23] Added Croatian translation (hr.yaml) (#1044) --- i18n/hr.yaml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 i18n/hr.yaml diff --git a/i18n/hr.yaml b/i18n/hr.yaml new file mode 100644 index 00000000..2f2d228c --- /dev/null +++ b/i18n/hr.yaml @@ -0,0 +1,33 @@ +- id: prev_page + translation: "Prethodna stranica" + +- id: next_page + translation: "Sljedeća stranica" + +- id: read_time + translation: + one : "1 minuta" + other: "{{ .Count }} minute" + +- id: words + translation: + one : "riječ" + other: "{{ .Count }} riječi" + +- id: toc + translation: "Tablica Sadržaja" + +- id: translations + translation: "Prijevodi" + +- id: home + translation: "Početna stranica" + +- id: edit_post + translation: "Promjeni" + +- id: code_copy + translation: "kopiraj" + +- id: code_copied + translation: "kopirano!" 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 21/23] 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 22/23] 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 23/23] 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"