diff options
author | Christoph Cullmann <cullmann@kde.org> | 2021-01-24 21:39:31 +0100 |
---|---|---|
committer | Christoph Cullmann <cullmann@kde.org> | 2021-01-24 21:39:31 +0100 |
commit | 3236c1d56e99dec8c80211bd5e6d2467fde6d96e (patch) | |
tree | 75ad99bfcd929c789f2873819347bd0b551ee4d5 /themes | |
parent | 6a8079fe80ad88f9e2d2a2f1f8f9ce3f06b51a2d (diff) |
use new hugo
Diffstat (limited to 'themes')
-rw-r--r-- | themes/beautifulhugo/i18n/br.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/de.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/en.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/eo.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/es.yaml | 8 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/fr.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/it.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/ja.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/nb.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/nl.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/pl.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/ru.yaml | 6 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/zh-CN.yaml | 4 | ||||
-rw-r--r-- | themes/beautifulhugo/i18n/zh-TW.yaml | 4 | ||||
-rw-r--r-- | themes/beautifulhugo/layouts/index.html | 16 |
15 files changed, 49 insertions, 49 deletions
diff --git a/themes/beautifulhugo/i18n/br.yaml b/themes/beautifulhugo/i18n/br.yaml index 98cbc47..7874904 100644 --- a/themes/beautifulhugo/i18n/br.yaml +++ b/themes/beautifulhugo/i18n/br.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "02/Jan/2006 15:04:05" - id: postedOnDate - translation: "Postado em {{ .Count }}" + translation: "Postado em {{ . }}" - id: lastModified - translation: "(Ultima modificação em {{ .Count }})" + translation: "(Ultima modificação em {{ . }})" - id: translationsLabel translation: "Outras linguagens: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Mostrar" - id: comments - translation: "comentários" + translation: "comentários" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/de.yaml b/themes/beautifulhugo/i18n/de.yaml index be3a79a..4479dc8 100644 --- a/themes/beautifulhugo/i18n/de.yaml +++ b/themes/beautifulhugo/i18n/de.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Gepostet am {{ .Count }}" + translation: "Gepostet am {{ . }}" - id: lastModified - translation: "(Zuletzt geändert am {{ .Count }})" + translation: "(Zuletzt geändert am {{ . }})" - id: translationsLabel translation: "Andere Sprachen: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Zeige" - id: comments - translation: "Kommentare" + translation: "Kommentare" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/en.yaml b/themes/beautifulhugo/i18n/en.yaml index ce90070..95c4fd7 100644 --- a/themes/beautifulhugo/i18n/en.yaml +++ b/themes/beautifulhugo/i18n/en.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "Jan 2, 2006 15:04:05" - id: postedOnDate - translation: "Posted on {{ .Count }}" + translation: "Posted on {{ . }}" - id: lastModified - translation: "(Last modified on {{ .Count }})" + translation: "(Last modified on {{ . }})" - id: translationsLabel translation: "Other languages: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Show" - id: comments - translation: "comments" + translation: "comments" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/eo.yaml b/themes/beautifulhugo/i18n/eo.yaml index 68540ca..2ff2d9d 100644 --- a/themes/beautifulhugo/i18n/eo.yaml +++ b/themes/beautifulhugo/i18n/eo.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Afiŝiĝis je {{ .Count }}" + translation: "Afiŝiĝis je {{ . }}" - id: lastModified - translation: "(Laste aliiĝis je {{ .Count }})" + translation: "(Laste aliiĝis je {{ . }})" - id: translationsLabel translation: "Aliaj lingvoj: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Montru" - id: comments - translation: "komentoj" + translation: "komentoj" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/es.yaml b/themes/beautifulhugo/i18n/es.yaml index 6c0850f..7533e68 100644 --- a/themes/beautifulhugo/i18n/es.yaml +++ b/themes/beautifulhugo/i18n/es.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Publicado el {{ .Count }}" + translation: "Publicado el {{ . }}" - id: lastModified - translation: "(Última modificación en {{ .Count }})" + translation: "(Última modificación en {{ . }})" - id: translationsLabel translation: "Otros idiomas: " - id: translationsSeparator @@ -67,8 +67,8 @@ - id: show translation: "Mostrar" - id: comments - translation: "comentarios" - + translation: "comentarios" + # Related posts - id: seeAlso translation: "Ver también" diff --git a/themes/beautifulhugo/i18n/fr.yaml b/themes/beautifulhugo/i18n/fr.yaml index ed85a9b..5a8f8ec 100644 --- a/themes/beautifulhugo/i18n/fr.yaml +++ b/themes/beautifulhugo/i18n/fr.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Posté le {{ .Count }}" + translation: "Posté le {{ . }}" - id: lastModified - translation: "(Dernière modification le {{ .Count }})" + translation: "(Dernière modification le {{ . }})" - id: translationsLabel translation: "Autres langues : " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Afficher" - id: comments - translation: "commentaires" + translation: "commentaires" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/it.yaml b/themes/beautifulhugo/i18n/it.yaml index 4bf0305..0e093d5 100644 --- a/themes/beautifulhugo/i18n/it.yaml +++ b/themes/beautifulhugo/i18n/it.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan 2006 15:04:05" - id: postedOnDate - translation: "Redatto il {{ .Count }}" + translation: "Redatto il {{ . }}" - id: lastModified - translation: "(Ultima modifica il {{ .Count }})" + translation: "(Ultima modifica il {{ . }})" - id: translationsLabel translation: "Altre lingue: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Mostra" - id: comments - translation: "commenti" + translation: "commenti" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/ja.yaml b/themes/beautifulhugo/i18n/ja.yaml index f810b0b..d0112b2 100644 --- a/themes/beautifulhugo/i18n/ja.yaml +++ b/themes/beautifulhugo/i18n/ja.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "{{ .Count }}に投稿" + translation: "{{ . }}に投稿" - id: lastModified - translation: "(最終更新日時{{ .Count }})" + translation: "(最終更新日時{{ . }})" - id: translationsLabel translation: "翻訳:" - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "ショー" - id: comments - translation: "コメント" + translation: "コメント" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/nb.yaml b/themes/beautifulhugo/i18n/nb.yaml index cd12ec6..b78b74a 100644 --- a/themes/beautifulhugo/i18n/nb.yaml +++ b/themes/beautifulhugo/i18n/nb.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Postet {{ .Count }}" + translation: "Postet {{ . }}" - id: lastModified - translation: "(Sist endret {{ .Count }})" + translation: "(Sist endret {{ . }})" - id: translationsLabel translation: "Andre språk: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Vis" - id: comments - translation: "kommentarer" + translation: "kommentarer" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/nl.yaml b/themes/beautifulhugo/i18n/nl.yaml index 02993bb..370f5c6 100644 --- a/themes/beautifulhugo/i18n/nl.yaml +++ b/themes/beautifulhugo/i18n/nl.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Gepost op {{ .Count }}" + translation: "Gepost op {{ . }}" - id: lastModified - translation: "(Laatst gewijzigd op {{ .Count }})" + translation: "(Laatst gewijzigd op {{ . }})" - id: translationsLabel translation: "Andere talen: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Laat" - id: comments - translation: "reacties zien" + translation: "reacties zien" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/pl.yaml b/themes/beautifulhugo/i18n/pl.yaml index e3d4f8b..bd230b7 100644 --- a/themes/beautifulhugo/i18n/pl.yaml +++ b/themes/beautifulhugo/i18n/pl.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Opublikowany {{ .Count }}" + translation: "Opublikowany {{ . }}" - id: lastModified - translation: "(Ostatnia modyfikacja {{ .Count }})" + translation: "(Ostatnia modyfikacja {{ . }})" - id: translationsLabel translation: "Inne języki: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Pokaż" - id: comments - translation: "komentarzy" + translation: "komentarzy" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/ru.yaml b/themes/beautifulhugo/i18n/ru.yaml index e05bdb4..b267f90 100644 --- a/themes/beautifulhugo/i18n/ru.yaml +++ b/themes/beautifulhugo/i18n/ru.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "Опубликовано {{ .Count }}" + translation: "Опубликовано {{ . }}" - id: lastModified - translation: "(Последнее изменение {{ .Count }})" + translation: "(Последнее изменение {{ . }})" - id: translationsLabel translation: "Другие языки: " - id: translationsSeparator @@ -67,7 +67,7 @@ - id: show translation: "Показать" - id: comments - translation: "комментариев" + translation: "комментариев" # Related posts - id: seeAlso diff --git a/themes/beautifulhugo/i18n/zh-CN.yaml b/themes/beautifulhugo/i18n/zh-CN.yaml index 9b104c3..8e2d9d9 100644 --- a/themes/beautifulhugo/i18n/zh-CN.yaml +++ b/themes/beautifulhugo/i18n/zh-CN.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "发表于 {{ .Count }}" + translation: "发表于 {{ . }}" - id: lastModified - translation: "(上次修改时间 {{ .Count }})" + translation: "(上次修改时间 {{ . }})" - id: translationsLabel translation: "其它语言: " - id: translationsSeparator diff --git a/themes/beautifulhugo/i18n/zh-TW.yaml b/themes/beautifulhugo/i18n/zh-TW.yaml index fea27b0..511d7ee 100644 --- a/themes/beautifulhugo/i18n/zh-TW.yaml +++ b/themes/beautifulhugo/i18n/zh-TW.yaml @@ -4,9 +4,9 @@ - id: shortdateFormat translation: "2 Jan, 2006 15:04:05" - id: postedOnDate - translation: "發表於 {{ .Count }}" + translation: "發表於 {{ . }}" - id: lastModified - translation: "(最後修改於 {{ .Count }})" + translation: "(最後修改於 {{ . }})" - id: translationsLabel translation: "其他語言: " - id: translationsSeparator diff --git a/themes/beautifulhugo/layouts/index.html b/themes/beautifulhugo/layouts/index.html index d7544e2..f3de0fa 100644 --- a/themes/beautifulhugo/layouts/index.html +++ b/themes/beautifulhugo/layouts/index.html @@ -9,25 +9,24 @@ {{ end }} <div class="posts-list"> - {{ $pag := .Paginate (where .Data.Pages "Type" "post") }} - {{ range $pag.Pages }} + {{ range .Paginator.Pages }} <article class="post-preview"> <a href="{{ .Permalink }}"> <h2 class="post-title">{{ .Title }}</h2> + {{ if .Params.subtitle }} <h3 class="post-subtitle"> - {{ .Params.subtitle }} + {{ .Params.subtitle }} </h3> {{ end }} - {{ if .Params.image }} - <img src="{{ .Params.image }}" alt="{{ .Title }}" class="img-title" /> - {{ end }} </a> - {{ partial "post_meta.html" . }} + <p class="post-meta"> + {{ partial "post_meta.html" . }} + </p> <div class="post-entry"> {{ if .Truncated }} - {{ if .Params.summary }}{{ .Params.summary }}{{ else }}{{ .Summary }}{{ end }} + {{ .Summary }} <a href="{{ .Permalink }}" class="post-read-more">[{{ i18n "readMore" }}]</a> {{ else }} {{ .Content }} @@ -41,6 +40,7 @@ {{ end }} </div> {{ end }} + </article> {{ end }} </div> |