diff --git a/README.md b/README.md index 00dec5a6..7a80ccab 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

☄️ Fast | ☁️ Fluent | 🌙 Smooth | 📱 Responsive


-> Hugo PaperMod is a theme based on [hugo-paper](https://github.com/nanxiaobei/hugo-paper). +> Hugo PaperMod is a theme based on [hugo-paper](https://github.com/nanxiaobei/hugo-paper/tree/4330c8b12aa48bfdecbcad6ad66145f679a430b3). > The goal of this project is to add more features and customization to the og theme. **Documentation** can be found here: [**📚 Wiki**](https://github.com/adityatelange/hugo-PaperMod/wiki) diff --git a/i18n/no.yaml b/i18n/no.yaml new file mode 100644 index 00000000..24003489 --- /dev/null +++ b/i18n/no.yaml @@ -0,0 +1,33 @@ +- id: prev_page + translation: "Forrige Side" + +- id: next_page + translation: "Neste Side" + +- id: read_time + translation: + one: "1 min" + other: "{{ .Count }} min" + +- id: words + translation: + one: "ord" + other: "{{ .Count }} ord" + +- id: toc + translation: "Innholdsfortegnelse" + +- id: translations + translation: "Oversettelser" + +- id: home + translation: "Hjem" + +- id: edit_post + translation: "Rediger" + +- id: code_copy + translation: "Kopier" + +- id: code_copied + translation: "Kopiert!" diff --git a/i18n/sw.yaml b/i18n/sw.yaml new file mode 100644 index 00000000..5fceb1a0 --- /dev/null +++ b/i18n/sw.yaml @@ -0,0 +1,33 @@ +- id: prev_page + translation: "Uliopita" + +- id: next_page + translation: "Ujao" + +- id: read_time + translation: + one : "dakika 1" + other: "dakika {{ .Count }}" + +- id: words + translation: + one : "neno" + other: "maneno {{ .Count }}" + +- id: toc + translation: "Jedwali la Yaliyomo" + +- id: translations + translation: "Tafsiri" + +- id: home + translation: "Mwanzo" + +- id: edit_post + translation: "Hariri" + +- id: code_copy + translation: "nakili" + +- id: code_copied + translation: "nakiliwa!" diff --git a/i18n/vi.yaml b/i18n/vi.yaml index a3832ed7..2eb05d08 100644 --- a/i18n/vi.yaml +++ b/i18n/vi.yaml @@ -6,9 +6,14 @@ - id: read_time translation: - one : "1 phút" + one: "1 phút" other: "{{ .Count }} phút" +- id: words + translation: + one: "từ" + other: "{{ .Count }} từ" + - id: toc translation: "Mục lục" @@ -18,6 +23,9 @@ - id: home translation: "Trang chủ" +- id: edit_post + translation: "Chỉnh sửa" + - id: code_copy translation: "Sao chép" diff --git a/layouts/partials/post_meta.html b/layouts/partials/post_meta.html index 8bc0e505..b0c0417e 100644 --- a/layouts/partials/post_meta.html +++ b/layouts/partials/post_meta.html @@ -19,5 +19,5 @@ {{- end }} {{- with ($scratch.Get "meta") }} -{{- delimit . " · " -}} +{{- delimit . " · " | safeHTML -}} {{- end -}} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 37441e61..390fc569 100644 --- a/layouts/partials/svg.html +++ b/layouts/partials/svg.html @@ -49,6 +49,11 @@ +{{- else if (eq $icon_name "bugcrowd") -}} + + + {{- else if (eq $icon_name "buymeacoffee") -}} +{{- else if (eq $icon_name "codeberg") -}} + + + {{- else if (eq $icon_name "codepen") -}} @@ -302,6 +311,11 @@ +{{- else if (eq $icon_name "intigriti") -}} + + + {{- else if (eq $icon_name "itchio") -}}