mirror of https://github.com/luizdepra/hugo-coder.git

Lorenzo Cameroni
24.16.2020 b60a1c42eb40dec875c73e3780f6a240c74a9316
Translation of series (#390)

5 files modified
11 ■■■■■ changed files
CONTRIBUTORS.md 1 ●●●● patch | view | raw | blame | history
i18n/en.toml 3 ●●●●● patch | view | raw | blame | history
i18n/fr.toml 2 ●●●●● patch | view | raw | blame | history
i18n/it.toml 3 ●●●●● patch | view | raw | blame | history
layouts/partials/posts/series.html 2 ●●● patch | view | raw | blame | history
CONTRIBUTORS.md
@@ -73,3 +73,4 @@
- [Pakhomov Alexander](https://github.com/PakhomovAlexander)
- [Rhys Perry](https://rhysperry.com)
- [Arunvel Sriram](https://github.com/arunvelsriram)
- [Lorenzo Cameroni](https://github.com/came88)
i18n/en.toml
@@ -22,3 +22,6 @@
[powered_by]
other = "Powered by"
[see_also]
other = "See also in"
i18n/fr.toml
@@ -23,3 +23,5 @@
[powered_by]
other = "Propulsé par"
[see_also]
other = "Voir aussi dans"
i18n/it.toml
@@ -22,3 +22,6 @@
[powered_by]
other = "Alimentato da"
[see_also]
other = "Vedi anche in"
layouts/partials/posts/series.html
@@ -5,7 +5,7 @@
    {{ $name := . | urlize }}
    {{ $series := index $.Site.Taxonomies.series $name }}
    {{ if gt (len $series.Pages) 1 }}
      <h3>See also in {{ . }}</h3>
      <h3>{{ i18n "see_also" | default "See also in" }} {{ . }}</h3>
      <nav>
        <ul>
        {{ $maxItems := $.Site.Params.maxSeeAlsoItems | default 5 }}