Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/content/posts/basic-markdown-syntax/index.en.md3
-rw-r--r--exampleSite/content/posts/emoji-support/index.en.md3
-rw-r--r--exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md2
-rw-r--r--exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md2
-rw-r--r--i18n/de.toml12
-rw-r--r--i18n/en.toml12
-rw-r--r--i18n/es.toml12
-rw-r--r--i18n/fr.toml12
-rw-r--r--i18n/it.toml12
-rw-r--r--i18n/pl.toml12
-rw-r--r--i18n/pt-BR.toml12
-rw-r--r--i18n/ro.toml12
-rw-r--r--i18n/ru.toml12
-rw-r--r--i18n/sr.toml12
-rw-r--r--i18n/vi.toml12
-rw-r--r--i18n/zh-CN.toml12
-rw-r--r--layouts/_default/summary.html4
-rw-r--r--layouts/partials/single/footer.html4
-rw-r--r--layouts/posts/single.html2
19 files changed, 77 insertions, 87 deletions
diff --git a/exampleSite/content/posts/basic-markdown-syntax/index.en.md b/exampleSite/content/posts/basic-markdown-syntax/index.en.md
index cdbaf8f..5233c3d 100644
--- a/exampleSite/content/posts/basic-markdown-syntax/index.en.md
+++ b/exampleSite/content/posts/basic-markdown-syntax/index.en.md
@@ -3,9 +3,6 @@ weight: 4
title: "Basic Markdown Syntax"
date: 2019-12-01T21:57:40+08:00
lastmod: 2020-01-01T16:45:40+08:00
-draft: false
-author: "Dillon"
-authorLink: "https://dillonzq.com"
description: "This article shows the basic Markdown syntax and format."
resources:
- name: "featured-image"
diff --git a/exampleSite/content/posts/emoji-support/index.en.md b/exampleSite/content/posts/emoji-support/index.en.md
index 869d94a..4766efc 100644
--- a/exampleSite/content/posts/emoji-support/index.en.md
+++ b/exampleSite/content/posts/emoji-support/index.en.md
@@ -3,9 +3,6 @@ weight: 5
title: "Emoji Support"
date: 2019-10-01T17:55:28+08:00
lastmod: 2019-10-01T17:55:28+08:00
-draft: false
-author: "Dillon"
-authorLink: "https://dillonzq.com"
description: "Guide to emoji usage in Hugo and LoveIt."
resources:
- name: "featured-image"
diff --git a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md
index 8298826..7cc0d29 100644
--- a/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-built-in-shortcodes/index.en.md
@@ -4,8 +4,6 @@ title: "Theme Documentation - Built-in Shortcodes"
date: 2020-03-04T16:29:41+08:00
lastmod: 2020-03-04T16:29:41+08:00
draft: false
-author: "Dillon"
-authorLink: "https://dillonzq.com"
description: "Hugo provides multiple built-in shortcodes for author convenience and to keep your markdown content clean."
resources:
- name: "featured-image"
diff --git a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
index cfb2220..062357b 100644
--- a/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-extended-shortcodes/index.en.md
@@ -4,8 +4,6 @@ title: "Theme Documentation - Extended Shortcodes"
date: 2020-03-03T16:29:41+08:00
lastmod: 2020-03-03T16:29:41+08:00
draft: false
-author: "Dillon"
-authorLink: "https://dillonzq.com"
description: "LoveIt theme provides multiple shortcodes on top of built-in ones in Hugo."
resources:
- name: "featured-image"
diff --git a/i18n/de.toml b/i18n/de.toml
index 1c731d1..90e1a5f 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -13,6 +13,12 @@ other = "Kommentare anzeigen"
# === Post ===
[posts]
other = "Artikel"
+
+[navNext]
+other = "Nächster Artikel"
+
+[navPrev]
+other = "Vorheriger Artikel"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Teilen auf"
[contents]
other = "Inhalt"
-[publishedOnDate]
-other = "veröffentlicht auf {{ .Date }}"
-
-[includedInCategories]
-other = "enthalten in {{ .Categories }}"
-
[wordCount]
one = "Ein wort"
other = "{{ .Count }} wörter"
diff --git a/i18n/en.toml b/i18n/en.toml
index 6f5a428..0ba7450 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -12,6 +12,12 @@ other = "View Comments"
# === Post ===
[posts]
other = "Posts"
+
+[navNext]
+other = "Next article"
+
+[navPrev]
+other = "Previous article"
# === Post ===
# === Taxonomy ===
@@ -101,12 +107,6 @@ other = "Share on"
[contents]
other = "Contents"
-[publishedOnDate]
-other = "published on {{ .Date }}"
-
-[includedInCategories]
-other = "included in {{ .Categories }}"
-
[wordCount]
one = "One word"
other = "{{ .Count }} words"
diff --git a/i18n/es.toml b/i18n/es.toml
index b67324a..55c18f7 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -13,6 +13,12 @@ other = "Ver comentarios"
# === Post ===
[posts]
other = "Artículos"
+
+[navNext]
+other = "Próximo artículo"
+
+[navPrev]
+other = "Artículo anterior"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Compartir en"
[contents]
other = "Contenido"
-[publishedOnDate]
-other = "publicado el {{ .Date }}"
-
-[includedInCategories]
-other = "incluido en {{ .Categories }}"
-
[wordCount]
one = "Una palabra"
other = "{{ .Count }} palabras"
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 541f68c..1152043 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -13,6 +13,12 @@ other = "Afficher les Commentaires"
# === Post ===
[posts]
other = "Posts"
+
+[navNext]
+other = "Article suivant"
+
+[navPrev]
+other = "Article précédent"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Partager sur"
[contents]
other = "Contenu"
-[publishedOnDate]
-other = "publié le {{ .Date }}"
-
-[includedInCategories]
-other = "inclus dans {{ .Categories }}"
-
[wordCount]
one = "Un mot"
other = "{{ .Count }} mots"
diff --git a/i18n/it.toml b/i18n/it.toml
index 2a8ea99..d88ad66 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -13,6 +13,12 @@ other = "Vedi commenti"
# === Post ===
[posts]
other = "Articoli"
+
+[navNext]
+other = "Prossimo articolo"
+
+[navPrev]
+other = "Articolo precedente"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Condividi su"
[contents]
other = "Contenuti"
-[publishedOnDate]
-other = "pubblicato su {{ .Date }}"
-
-[includedInCategories]
-other = "incluso in {{ .Categories }}"
-
[wordCount]
one = "Una parola"
other = "{{ .Count }} parole"
diff --git a/i18n/pl.toml b/i18n/pl.toml
index b9aa2f7..e53007f 100644
--- a/i18n/pl.toml
+++ b/i18n/pl.toml
@@ -13,6 +13,12 @@ other = "Zobacz komentarze"
# === Post ===
[posts]
other = "Posty"
+
+[navNext]
+other = "Następny artykuł"
+
+[navPrev]
+other = "Poprzedni artykuł"
# === Post ===
# === Taxonomy ===
@@ -93,12 +99,6 @@ other = "Udostępnij na"
[contents]
other = "Spis treści"
-[publishedOnDate]
-other = "opublikowano {{ .Date }}"
-
-[includedInCategories]
-other = "zawarty w {{ .Categories }}"
-
[wordCount]
one = "Jedno słowo"
other = "{{ .Count }} słów"
diff --git a/i18n/pt-BR.toml b/i18n/pt-BR.toml
index 27cbb03..95d7952 100644
--- a/i18n/pt-BR.toml
+++ b/i18n/pt-BR.toml
@@ -13,6 +13,12 @@ other = "Ver comentários"
# === Post ===
[posts]
other = "Posts"
+
+[navNext]
+other = "Próximo artigo"
+
+[navPrev]
+other = "Artigo anterior"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Compartilhe em"
[contents]
other = "Conteúdos"
-[publishedOnDate]
-other = "publicado em {{ .Date }}"
-
-[includedInCategories]
-other = "incluido em {{ .Categories }}"
-
[wordCount]
one = "Uma palavra"
other = "{{ .Count }} palavras"
diff --git a/i18n/ro.toml b/i18n/ro.toml
index 7584dc6..0d2f98a 100644
--- a/i18n/ro.toml
+++ b/i18n/ro.toml
@@ -13,6 +13,12 @@ other = "Vizualizare Comentarii"
# === Post ===
[posts]
other = "Articole"
+
+[navNext]
+other = "Următorul articol"
+
+[navPrev]
+other = "Articolul anterior"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Distribuie pe"
[contents]
other = "Cuprins"
-[publishedOnDate]
-other = "publicat la {{ .Date }}"
-
-[includedInCategories]
-other = "inclus în {{ .Categories }}"
-
[wordCount]
one = "Un cuvânt"
other = "{{ .Count }} cuvinte"
diff --git a/i18n/ru.toml b/i18n/ru.toml
index a3f2f1b..5c70b1e 100644
--- a/i18n/ru.toml
+++ b/i18n/ru.toml
@@ -13,6 +13,12 @@ other = "Посмотреть комментарии"
# === Post ===
[posts]
other = "Статьи"
+
+[navNext]
+other = "Следующая статья"
+
+[navPrev]
+other = "Предыдущая статья"
# === Post ===
# === Taxonomy ===
@@ -105,12 +111,6 @@ other = "Поделиться в"
[contents]
other = "Содержание"
-[publishedOnDate]
-other = "{{ .Date }}"
-
-[includedInCategories]
-other = "{{ .Categories }}"
-
[wordCount]
one = "Одно слово"
other = "{{ .Count }} слов"
diff --git a/i18n/sr.toml b/i18n/sr.toml
index 09b7d04..91736ff 100644
--- a/i18n/sr.toml
+++ b/i18n/sr.toml
@@ -13,6 +13,12 @@ other = "Погледај Коментаре"
# === Post ===
[posts]
other = "Постови"
+
+[navNext]
+other = "Следећи чланак"
+
+[navPrev]
+other = "Претходни чланак"
# === Post ===
# === Taxonomy ===
@@ -102,12 +108,6 @@ other = "Подели на"
[contents]
other = "Садржаји"
-[publishedOnDate]
-other = "објављено {{ .Date }}"
-
-[includedInCategories]
-other = "укључено {{ .Categories }}"
-
[wordCount]
one = "Једна реч"
other = "{{ .Count }} речи"
diff --git a/i18n/vi.toml b/i18n/vi.toml
index 04ac1ca..a870970 100644
--- a/i18n/vi.toml
+++ b/i18n/vi.toml
@@ -12,6 +12,12 @@ other = "Xem bình luận"
# === Post ===
[posts]
other = "Bài viết"
+
+[navNext]
+other = "Bài tiếp theo"
+
+[navPrev]
+other = "bài báo trước"
# === Post ===
# === Taxonomy ===
@@ -104,12 +110,6 @@ other = "Chia sẻ trên"
[contents]
other = "Nội dung"
-[publishedOnDate]
-other = "đăng ngày {{ .Date }}"
-
-[includedInCategories]
-other = "trong {{ .Categories }}"
-
[wordCount]
one = "One word"
other = "{{ .Count }} từ"
diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml
index a96a0b2..cd9badc 100644
--- a/i18n/zh-CN.toml
+++ b/i18n/zh-CN.toml
@@ -13,6 +13,12 @@ other = "查看评论"
# === Post ===
[posts]
other = "文章"
+
+[navNext]
+other = "下一篇"
+
+[navPrev]
+other = "上一篇"
# === Post ===
# === Taxonomy ===
@@ -108,12 +114,6 @@ other = "分享到"
[contents]
other = "目录"
-[publishedOnDate]
-other = "发布于 {{ .Date }}"
-
-[includedInCategories]
-other = "收录于 {{ .Categories }}"
-
[wordCount]
other = "约 {{ .Count }} 字"
diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html
index 90bd333..6d3dd59 100644
--- a/layouts/_default/summary.html
+++ b/layouts/_default/summary.html
@@ -36,7 +36,7 @@
{{- with .Site.Params.dateFormat | default "2006-01-02" | .PublishDate.Format -}}
&nbsp;&#183;&nbsp;<span class="post-publish"><i class="far fa-clock fa-fw"></i>
- {{- printf `<time datetime="%v">%v</time>` . . | dict "Date" | T "publishedOnDate" | safeHTML -}}
+ {{- printf `<time datetime="%v">%v</time>` . . | safeHTML -}}
</span>
{{- end -}}
@@ -47,7 +47,7 @@
{{- end -}}
{{- with delimit $categories "&nbsp;" -}}
&nbsp;&#183;&nbsp;<span class="post-category">
- {{- dict "Categories" . | T "includedInCategories" | safeHTML -}}
+ {{ . }}
</span>
{{- end -}}
diff --git a/layouts/partials/single/footer.html b/layouts/partials/single/footer.html
index 86e0d8d..1ba403d 100644
--- a/layouts/partials/single/footer.html
+++ b/layouts/partials/single/footer.html
@@ -55,12 +55,12 @@
<div class="post-navigation">
{{- if .PrevInSection -}}
<div class="post-nav-box nav-box-prev">
- <a class="nav-box" href="{{ .PrevInSection.RelPermalink }}"><span class="nav-icon"><svg aria-hidden="true" data-prefix="fas" data-icon="chevron-circle-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"></path></svg></span><div style="text-align: right;padding-left: 10px"><div class="nav-text-h">Предыдущая статья</div><span class="nav-text">{{ .PrevInSection.Title }}</span></div></a>
+ <a class="nav-box" href="{{ .PrevInSection.RelPermalink }}"><span class="nav-icon"><svg aria-hidden="true" data-prefix="fas" data-icon="chevron-circle-left" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"></path></svg></span><div style="text-align: right;padding-left: 10px"><div class="nav-text-h">{{ T "navNext" }}</div><span class="nav-text">{{ .PrevInSection.Title }}</span></div></a>
</div>
{{- end -}}
{{ if .NextInSection }}
<div class="post-nav-box nav-box-next">
- <a class="nav-box" href="{{ .NextInSection.RelPermalink }}"><div style="padding-right: 10px"><div class="nav-text-h">Следующая статья</div><span class="nav-text">{{ .NextInSection.Title }}</span></div><span class="nav-icon"><svg aria-hidden="true" data-prefix="fas" data-icon="chevron-circle-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z"></path></svg></span></a>
+ <a class="nav-box" href="{{ .NextInSection.RelPermalink }}"><div style="padding-right: 10px"><div class="nav-text-h">{{ T "navNext" }}</div><span class="nav-text">{{ .NextInSection.Title }}</span></div><span class="nav-icon"><svg aria-hidden="true" data-prefix="fas" data-icon="chevron-circle-right" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z"></path></svg></span></a>
</div>
{{- end -}}
</div>
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 5c63d7b..c8e95f6 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -51,7 +51,7 @@
{{- end -}}
{{- with delimit $categories "&nbsp;" -}}
<span class="post-category">
- {{- dict "Categories" . | T "includedInCategories" | safeHTML -}}
+ {{ . }}
</span>
{{- end -}}