diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 8873dc6..ba577b3 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -56,4 +56,12 @@ - [Anson VanDoren](https://github.com/anson-vandoren) - [Michael Lynch](https://github.com/mtlynch) - [FIGBERT](https://figbert.com/) +- [Hannes Kuchelmsiter](hanneskuchelmeister.de) - [Yash Mehrotra](https://yashmehrotra.com) +- [Paolo Mainardi](https://paolomainardi.com) +- [Ka-Wai Lin](https://github.com/kwlin) +- [Piotr Orzechowski](https://orzechowski.tech) +- [Glenn Feunteun](https://github.com/gfeun) +- [Santiago González](https://github.com/netrules) +- [Codruț Constantin Gușoi](https://www.sdwolfz.pro) +- [Clément Pannetier](https://clementpannetier.dev) diff --git a/assets/scss/_content.scss b/assets/scss/_content.scss index 722df96..cde9506 100644 --- a/assets/scss/_content.scss +++ b/assets/scss/_content.scss @@ -25,6 +25,11 @@ } } } + p { + text-align: justify; + text-justify: auto; + hyphens: auto; + } } .post { .post-title { diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 3f02c74..a930053 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,10 +21,12 @@ disqusShortname = "yourdiscussshortname" keywords = "blog,developer,personal" info = "Full Stack DevOps and Magician" avatarurl = "images/avatar.jpg" + #gravatar = "john.doe@example.com" footercontent = "Enter a text here." dateformat = "January 2, 2006" + hideFooter = false hideCredits = false hideCopyright = false since = 2019 diff --git a/exampleSite/content/snippets/_index.md b/exampleSite/content/snippets/_index.md new file mode 100644 index 0000000..5166c00 --- /dev/null +++ b/exampleSite/content/snippets/_index.md @@ -0,0 +1,5 @@ +--- +title: "Snippets" +--- + +This content is in `content/snippets/_index.md` diff --git a/exampleSite/content/snippets/first/index.md b/exampleSite/content/snippets/first/index.md new file mode 100644 index 0000000..0d423e5 --- /dev/null +++ b/exampleSite/content/snippets/first/index.md @@ -0,0 +1,9 @@ +--- +title: "First snippet" +--- + +This content is in `snippets/first/index.md` + +```sh +pwd +``` diff --git a/exampleSite/content/snippets/second/index.md b/exampleSite/content/snippets/second/index.md new file mode 100644 index 0000000..e1ca4d1 --- /dev/null +++ b/exampleSite/content/snippets/second/index.md @@ -0,0 +1,9 @@ +--- +title: "Second snippet" +--- + +This content is in `snippets/second/index.md` + +```sh +ls -la +``` diff --git a/i18n/pl.toml b/i18n/pl.toml new file mode 100644 index 0000000..886841a --- /dev/null +++ b/i18n/pl.toml @@ -0,0 +1,23 @@ +[category] +other = "kategoria" + +[tag] +other = "tag" + +[series] +other = "seria" + +[reading_time] +other = "czas czytania: {{ .Count }} min" + +[page_not_found] +other = "Nie znaleziono strony" + +[page_does_not_exist] +other = "Wybacz, ta strona nie istnieje." + +[head_back] +other = "Możesz wrócić na stronę domową." + +[powered_by] +other = "Napędzane przez" diff --git a/i18n/sk.toml b/i18n/sk.toml new file mode 100644 index 0000000..7fd4d23 --- /dev/null +++ b/i18n/sk.toml @@ -0,0 +1,24 @@ +[category] +other = "kategória" + +[tag] +other = "téma" + +[series] +other = "diel" + +[reading_time] +one = "Prečítate si za minútu" +other = "Prečítate si do {{ .Count }} minút" + +[page_not_found] +other = "Stránka nebola nájdená" + +[page_does_not_exist] +other = "Prepáčte, ale táto stránka neexistuje." + +[head_back] +other = "Späť na domácu stránku." + +[powered_by] +other = "Táto stránka bola vytvorená cez" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index a497e5d..2c6f232 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -21,7 +21,7 @@ {{ end }} - + diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 5422fff..5131448 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,23 +1,26 @@ - +{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 8043bea..20e6c98 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -17,7 +17,7 @@ {{ if .Site.IsMultiLingual }} {{ $node := . }} {{ .Scratch.Set "separator" true }} - {{ range .Site.Home.AllTranslations }} + {{ range .Translations }} {{ if ne $.Site.Language .Language }} {{ if $node.Scratch.Get "separator" }}