diff options
-rw-r--r-- | content/book-reviews/_index.md | 2 | ||||
-rw-r--r-- | content/comics/_index.md | 5 | ||||
-rw-r--r-- | content/posts/_index.md | 11 | ||||
-rw-r--r-- | content/projects/_index.md | 2 | ||||
-rw-r--r-- | content/til/_index.fr.md | 2 | ||||
-rw-r--r-- | content/til/_index.md | 2 | ||||
-rw-r--r-- | i18n/de.yaml | 14 | ||||
-rw-r--r-- | i18n/en.yaml | 12 | ||||
-rw-r--r-- | i18n/fr.yaml | 14 | ||||
-rw-r--r-- | i18n/vi.yaml | 3 | ||||
-rw-r--r-- | layouts/_default/list.html | 3 | ||||
-rw-r--r-- | layouts/index.html | 2 | ||||
-rw-r--r-- | layouts/partials/languageSelect.html | 2 |
13 files changed, 62 insertions, 12 deletions
diff --git a/content/book-reviews/_index.md b/content/book-reviews/_index.md index 4da636c..341161f 100644 --- a/content/book-reviews/_index.md +++ b/content/book-reviews/_index.md @@ -1,6 +1,6 @@ --- categories: ["book review"] -title: "Book reviews" +title: book-reviews --- I review books as I read. Each review will contain: diff --git a/content/comics/_index.md b/content/comics/_index.md index bb5c449..42c3408 100644 --- a/content/comics/_index.md +++ b/content/comics/_index.md @@ -1,10 +1,11 @@ --- -title: Comics +title: comics lang: en translationKey: comics --- -Here are some attempts of mine to draw webcomics :) +Here are some attempts of mine to draw webcomics, or I should say random +scribbles :) Transcript of each comic can be found by appending 'transcript.txt' to the comic URL. diff --git a/content/posts/_index.md b/content/posts/_index.md new file mode 100644 index 0000000..54dd49c --- /dev/null +++ b/content/posts/_index.md @@ -0,0 +1,11 @@ +--- +title: Posts +lang: en +translationKey: posts +--- + +Here are some attempts of mine to draw webcomics, or I should say random +scribbles :) + +Transcript of each comic can be found by appending 'transcript.txt' to the +comic URL. diff --git a/content/projects/_index.md b/content/projects/_index.md index fcc037a..45c8c25 100644 --- a/content/projects/_index.md +++ b/content/projects/_index.md @@ -1,5 +1,5 @@ --- -title: Free Software projects directory +title: projects lang: en translationKey: fsd --- diff --git a/content/til/_index.fr.md b/content/til/_index.fr.md index c331bf2..52ef329 100644 --- a/content/til/_index.fr.md +++ b/content/til/_index.fr.md @@ -1,5 +1,5 @@ --- -title: AJA +title: til translationKey: til --- diff --git a/content/til/_index.md b/content/til/_index.md index 8808ccd..09c6754 100644 --- a/content/til/_index.md +++ b/content/til/_index.md @@ -1,5 +1,5 @@ --- -title: TIL +title: til lang: en translationKey: til --- diff --git a/i18n/de.yaml b/i18n/de.yaml index fb6c5cf..2ec1532 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -1,5 +1,17 @@ +book-reviews: + other: "Buchrezension" + +comics: + other: "Comics" + +projects: + other: "Projekten" + +til: + other: "HLI" + translations: other: "Diese Artikel ist verfügbar auf:" BookShare: - other: "Ich habe die Büche deren Kritik ich schreibe. Wenn du dieses Buch lesen wöllte, schick mir eine E-Mail." + other: "Ich habe die Büche deren Rezension ich schreibe. Wenn du dieses Buch lesen wöllte, schick mir eine E-Mail." diff --git a/i18n/en.yaml b/i18n/en.yaml index ce6635c..024e9ca 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -1,3 +1,15 @@ +book-reviews: + other: "Book Reviews" + +comics: + other: "Comics" + +projects: + other: "Free Software projects directory" + +til: + other: "TIL" + translations: other: "Available translations" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 4db5e06..75b7745 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -1,5 +1,17 @@ +book-reviews: + other: "Critiques des livres" + +comics: + other: "Bédés" + +projects: + other: "Projets" + +til: + other: "AJA" + translations: other: "Des traductions disponibles" BookShare: - other: "Quand j'écris un critique d'un livre, ça signifie que j'ai un copie de lui. Si vous le voulez, envoyez-moi un couriel et je vais vous l'envoyer." + other: "Quand j'écris un critique d'un livre, ça signifie que j'en ai un copie. Si vous le voulez, envoyez-moi un couriel et je vais vous l'envoyer." diff --git a/i18n/vi.yaml b/i18n/vi.yaml index 7fa0ce5..782ef24 100644 --- a/i18n/vi.yaml +++ b/i18n/vi.yaml @@ -1,3 +1,6 @@ +book-reviews: + other: "Review sách" + translations: other: "Bài viết này được dịch thành:" diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 59eb537..855ed91 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -5,8 +5,7 @@ <div class="articles h-feed"> <h1 class="post-title">{{ i18n .Title }}</h1> - {{ if .Params.no_feed }} - {{ else}} + {{ if not .Params.no_feed }} {{ range .Page.CurrentSection.Pages }} <div class="post-short-list h-entry"> <header class="post-header"> diff --git a/layouts/index.html b/layouts/index.html index 414d5e6..e1bfe7f 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -3,7 +3,7 @@ {{ .Content }} <ul> {{ range .Site.Sections }} - <li> <a href="{{ .Permalink }}">{{ .Title }}</a> </li> + <li> <a href="{{ .Permalink }}">{{ i18n .Title }}</a> </li> {{ end }} </ul> </div> diff --git a/layouts/partials/languageSelect.html b/layouts/partials/languageSelect.html index a4d2b92..ce67210 100644 --- a/layouts/partials/languageSelect.html +++ b/layouts/partials/languageSelect.html @@ -3,7 +3,7 @@ <ul> {{ range .Translations }} <li> - <a href="{{ .Permalink }}">{{ .Language.LanguageName }}: {{ .Title }}{{ if .IsPage }}{{ end }}</a> + <a href="{{ .Permalink }}">{{ .Language.LanguageName }}</a> </li> {{ end }} </ul> |