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/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) - 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 +} diff --git a/assets/css/core/license.css b/assets/css/core/license.css index 8e81d229..62340074 100644 --- a/assets/css/core/license.css +++ b/assets/css/core/license.css @@ -1,6 +1,6 @@ /* - PaperMod v6 + PaperMod v7 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..62340074 100644 --- a/assets/js/license.js +++ b/assets/js/license.js @@ -1,6 +1,6 @@ /* - PaperMod v6 + PaperMod v7 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/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: "نسخ الكود" 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: "скапіявана!" 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 diff --git a/i18n/it.yaml b/i18n/it.yaml index ef41db4e..c87c95d0 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: @@ -15,11 +15,17 @@ other: "{{ .Count }} parole" - id: toc - translation: "Tabella dei Contenuti" + translation: "Indice contenuti" - id: translations translation: "Traduzioni" +- id: home + translation: "Home" + +- id: edit_post + translation: "Modifica" + - id: code_copy translation: "copia" 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: 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" 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!" 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 }} diff --git a/layouts/partials/svg.html b/layouts/partials/svg.html index 49f5389f..08aaf990 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") -}} +{{- else if (eq $icon_name "douban") -}} + + + + + {{- else if (eq $icon_name "dreamstime") -}} @@ -230,10 +242,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") -}} +{{- else if (eq $icon_name "neteasecloudmusic") -}} + + + {{- else if (eq $icon_name "nuget") -}} @@ -585,6 +601,14 @@ 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") -}} + + + {{- else if (eq $icon_name "twitch") -}} @@ -640,6 +664,11 @@ +{{- else if (eq $icon_name "zhihu") -}} + + + {{- else if $icon_name -}}