diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 05b8a39..914fa72 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -106,3 +106,4 @@ - [Simon Pai](https://github.com/simonpai) - [Brenton Mallen](https://github.com/brentonmallen1) - [Xiaoyang Luo](https://github.com/ccviolett/) +- [Michiel Appelman](https://appelman.se) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 2039858..fcf6fbc 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -13,6 +13,7 @@ enableEmoji = true [params] author = "John Doe" +# license = 'CC BY-SA-4.0' description = "John Doe's personal website" keywords = "blog,developer,personal" info = ["Full Stack DevOps", "Magician"] diff --git a/i18n/ar.toml b/i18n/ar.toml index 9858cae..ec33ba2 100644 --- a/i18n/ar.toml +++ b/i18n/ar.toml @@ -29,6 +29,9 @@ other = "هذه الصفحة غير موجودة" [head_back] other = "بإمكانك العودة إلى homepage." +[licensed_under] +other = "Licensed under" + [powered_by] other = "بواسطة" diff --git a/i18n/bn.toml b/i18n/bn.toml index a8f97ff..100d9fd 100644 --- a/i18n/bn.toml +++ b/i18n/bn.toml @@ -30,6 +30,9 @@ other = "দুঃখিত, কাঙ্ক্ষিত পাতাটির [head_back] other = "আপনি নীড়পাতায় ফিরে যেতে পারেন" +[licensed_under] +other = "Licensed under" + [powered_by] other = "চালনায়" diff --git a/i18n/cs.toml b/i18n/cs.toml index 3975b4b..4783703 100644 --- a/i18n/cs.toml +++ b/i18n/cs.toml @@ -29,6 +29,9 @@ other = "Omlouváme se, stránka nebyla nalezena." [head_back] other = "Můžete se vrátit na homepage." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Stránka používá" diff --git a/i18n/de.toml b/i18n/de.toml index 3fa33a1..ea0b5f2 100644 --- a/i18n/de.toml +++ b/i18n/de.toml @@ -30,6 +30,9 @@ other = "Tut mir Leid, die Seite existiert leider nicht." [head_back] other = "Du kannst hier zurück zur Startseite." +[licensed_under] +other = "Lizenziert unter" + [powered_by] other = "Gestaltet mit" diff --git a/i18n/en.toml b/i18n/en.toml index 0e417c8..375ee8d 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -30,6 +30,9 @@ other = "Sorry, this page does not exist." [head_back] other = "You can head back to the homepage." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Powered by" diff --git a/i18n/es.toml b/i18n/es.toml index 396807d..4dad3a1 100644 --- a/i18n/es.toml +++ b/i18n/es.toml @@ -30,6 +30,9 @@ other = "Disculpa, la página no existe." [head_back] other = "Puedes regresar a la página inicial." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Desarrollado por" diff --git a/i18n/fi.toml b/i18n/fi.toml index cebeefb..49bd70e 100644 --- a/i18n/fi.toml +++ b/i18n/fi.toml @@ -30,6 +30,9 @@ other = "Valitettavasti tätä sivua ei ole olemassa." [head_back] other = "Voit palata takaisin kotisivulle." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Tarjoaa" diff --git a/i18n/fr.toml b/i18n/fr.toml index 5b02bad..86b9dea 100644 --- a/i18n/fr.toml +++ b/i18n/fr.toml @@ -30,6 +30,9 @@ other = "Désolé, cette page n'existe pas." [head_back] other = "Vous pouvez revenir à l'accueil." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Propulsé par" diff --git a/i18n/he.toml b/i18n/he.toml index e5e46e5..5423312 100644 --- a/i18n/he.toml +++ b/i18n/he.toml @@ -30,6 +30,9 @@ other = "מצטערים, דף אינטרנט זה אינו קיים" [head_back] other = " אתה יכול לחזורלדף הבית." +[licensed_under] +other = "Licensed under" + [powered_by] other = "מופעל על ידי" diff --git a/i18n/hi.toml b/i18n/hi.toml index bf3bade..983daec 100644 --- a/i18n/hi.toml +++ b/i18n/hi.toml @@ -30,6 +30,9 @@ other = "क्षमा करें, यह पृष्ठ मौजूद [head_back] other = "आप वापस आ सकते हैं मुखपृष्ठ." +[licensed_under] +other = "Licensed under" + [powered_by] other = "द्वारा संचालित" diff --git a/i18n/hu.toml b/i18n/hu.toml index 748b63b..dbe3a32 100644 --- a/i18n/hu.toml +++ b/i18n/hu.toml @@ -30,6 +30,9 @@ other = "Sajnálom, a kért oldal nem létezik." [head_back] other = "Itt visszaléphet a Főoldalra." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Motor:" diff --git a/i18n/id.toml b/i18n/id.toml index 7996ef9..6ebe551 100644 --- a/i18n/id.toml +++ b/i18n/id.toml @@ -30,6 +30,9 @@ other = "Maaf, halaman ini tidak ada." [head_back] other = "Anda dapat kembali ke beranda." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Dipersembahkan oleh" diff --git a/i18n/it.toml b/i18n/it.toml index e109c2a..3c4c5cc 100644 --- a/i18n/it.toml +++ b/i18n/it.toml @@ -30,6 +30,9 @@ other = "Siamo spiacenti, questa pagina non esiste." [head_back] other = "Torna alla homepage." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Generato da" diff --git a/i18n/ja.toml b/i18n/ja.toml index d9b7c26..b1f0b3a 100644 --- a/i18n/ja.toml +++ b/i18n/ja.toml @@ -30,6 +30,9 @@ other = "申し訳ございません。アクセスしようとしたページ [head_back] other = "トップページからお探しいただきますようお願い申し上げます。" +[licensed_under] +other = "Licensed under" + [powered_by] other = "利用技術" diff --git a/i18n/ko.toml b/i18n/ko.toml index b60ab9b..62f98c4 100644 --- a/i18n/ko.toml +++ b/i18n/ko.toml @@ -30,6 +30,9 @@ other = "해당 페이지가 존재하지 않습니다." [head_back] other = "홈페이지로 돌아가기" +[licensed_under] +other = "Licensed under" + [powered_by] other = "Powered by" diff --git a/i18n/ms.toml b/i18n/ms.toml index a913e56..1ca001a 100644 --- a/i18n/ms.toml +++ b/i18n/ms.toml @@ -33,6 +33,9 @@ other = "Maaf, halaman ini tidak wujud." [head_back] other = "Kembali ke halaman utama." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Dikuasakan oleh" diff --git a/i18n/nl.toml b/i18n/nl.toml index 4bcaf94..f4692dc 100644 --- a/i18n/nl.toml +++ b/i18n/nl.toml @@ -30,6 +30,9 @@ other = "Sorry, deze pagina bestaat niet." [head_back] other = "U kunt terugkeren naar de thuispagina." +[licensed_under] +other = "Valt onder" + [powered_by] other = "Aangedreven door" diff --git a/i18n/np.toml b/i18n/np.toml index 6be1af5..76fe7ba 100644 --- a/i18n/np.toml +++ b/i18n/np.toml @@ -30,6 +30,9 @@ other = "माफ गर्नुहोस, यो पृष्ठ उपलब [head_back] other = "मुख्यपृष्ठमा फर्किन सक्नुहुन्छ।मुख्यपृष्ठ." +[licensed_under] +other = "Licensed under" + [powered_by] other = "द्वारा संचालित" diff --git a/i18n/pl.toml b/i18n/pl.toml index 8a5ea7d..14e3270 100644 --- a/i18n/pl.toml +++ b/i18n/pl.toml @@ -30,6 +30,9 @@ other = "Wybacz, ta strona nie istnieje." [head_back] other = "Możesz wrócić na stronę domową." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Napędzane przez" diff --git a/i18n/pt-br.toml b/i18n/pt-br.toml index de1f0c8..e5c5c99 100644 --- a/i18n/pt-br.toml +++ b/i18n/pt-br.toml @@ -30,6 +30,9 @@ other = "Desculpe, essa página não existe." [head_back] other = "Você pode voltar para a página inicial." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Promovido por" diff --git a/i18n/ro.toml b/i18n/ro.toml index 4bf220b..7a7a9e8 100644 --- a/i18n/ro.toml +++ b/i18n/ro.toml @@ -30,6 +30,9 @@ other = "Ne pare rău, această pagină nu există." [head_back] other = "Poți să te întorci la pagina principală." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Susținut de" diff --git a/i18n/ru.toml b/i18n/ru.toml index 329dcba..fcd969b 100644 --- a/i18n/ru.toml +++ b/i18n/ru.toml @@ -31,6 +31,9 @@ other = "Извините, но этой страницы не существу [head_back] other = "Можете вернуться обратно на домашнюю страницу." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Работает на" diff --git a/i18n/se.toml b/i18n/se.toml index 1591e35..6f32172 100644 --- a/i18n/se.toml +++ b/i18n/se.toml @@ -30,6 +30,9 @@ other = "Ursäkta, men denna sida existerar inte." [head_back] other = "Här kan du komma tillbaka till startsidan." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Byggd med" diff --git a/i18n/sk.toml b/i18n/sk.toml index 90dc61f..44bcb09 100644 --- a/i18n/sk.toml +++ b/i18n/sk.toml @@ -32,6 +32,9 @@ other = "Prepáčte, ale táto stránka neexistuje." [head_back] other = "Späť na domácu stránku." +[licensed_under] +other = "Licensed under" + [see_also] other = "Pozrite tiež" diff --git a/i18n/sq.toml b/i18n/sq.toml index 6198742..e2c506f 100644 --- a/i18n/sq.toml +++ b/i18n/sq.toml @@ -30,6 +30,9 @@ other = "Na vjen keq, faqja nuk u gjet" [head_back] other = "Mund të ktheheni prapë tek homepage." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Mundësuar nga " diff --git a/i18n/tr.toml b/i18n/tr.toml index 0409327..285d804 100644 --- a/i18n/tr.toml +++ b/i18n/tr.toml @@ -30,6 +30,9 @@ other = "Özür dileriz, böyle bir sayfa yok." [head_back] other = "Ana sayfaya dönebilirsiniz." +[licensed_under] +other = "Licensed under" + [powered_by] other = "Site program altyapısı" diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml index fabcd78..771875e 100644 --- a/i18n/zh-cn.toml +++ b/i18n/zh-cn.toml @@ -30,6 +30,9 @@ other = "此页面不存在" [head_back] other = "返回 首页." +[licensed_under] +other = "Licensed under" + [powered_by] other = "技术支持" diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml index 0d3992d..d3fa3f7 100644 --- a/i18n/zh-tw.toml +++ b/i18n/zh-tw.toml @@ -30,6 +30,9 @@ other = "此頁面不存在" [head_back] other = "返回 首頁." +[licensed_under] +other = "Licensed under" + [powered_by] other = "技術支援" diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 78bd72c..94f1449 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -7,6 +7,10 @@ {{ now.Year }} {{ with .Site.Params.author }} {{ . }} {{ end }} · + {{ if (and .Site.Params.license) }} + {{ i18n "licensed_under" }} {{ .Site.Params.license | safeHTML }} + · + {{ end }} {{ i18n "powered_by" }} Hugo & Coder. {{ if (and .Site.Params.commit .GitInfo) }} [{{ .GitInfo.AbbreviatedHash }}]