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

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpence Churchill <spence@duck.com>2022-06-05 18:20:08 +0300
committerGitHub <noreply@github.com>2022-06-05 18:20:08 +0300
commit5e350b92e8219a4f1645da6e11055ea773c937bb (patch)
treeadf47eb3cb93a56bb744a530c9021d40b0ac1432
parent58b1e0706a5fb74d36bd1fae68cc276dac3e4fee (diff)
refactor: rename "Related contents" to "Related content" (#567)
-rw-r--r--assets/scss/partials/layout/article.scss2
-rw-r--r--i18n/ar.yaml2
-rw-r--r--i18n/ca.yaml2
-rw-r--r--i18n/de.yaml2
-rw-r--r--i18n/el.yaml2
-rw-r--r--i18n/en.yaml4
-rw-r--r--i18n/es.yaml2
-rw-r--r--i18n/fr.yaml2
-rw-r--r--i18n/id.yaml2
-rw-r--r--i18n/it.yaml2
-rw-r--r--i18n/ja.yaml2
-rw-r--r--i18n/ko.yaml2
-rw-r--r--i18n/nl.yaml2
-rw-r--r--i18n/pl.yaml2
-rw-r--r--i18n/pt-br.yaml2
-rw-r--r--i18n/ru.yaml2
-rw-r--r--i18n/th.yaml2
-rw-r--r--i18n/tr.yaml2
-rw-r--r--i18n/uk.yaml2
-rw-r--r--i18n/zh-cn.yaml2
-rw-r--r--i18n/zh-hk.yaml2
-rw-r--r--i18n/zh-tw.yaml2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/partials/article/components/related-content.html (renamed from layouts/partials/article/components/related-contents.html)6
24 files changed, 27 insertions, 27 deletions
diff --git a/assets/scss/partials/layout/article.scss b/assets/scss/partials/layout/article.scss
index eb58e77..d789e10 100644
--- a/assets/scss/partials/layout/article.scss
+++ b/assets/scss/partials/layout/article.scss
@@ -166,7 +166,7 @@
}
}
-.related-contents {
+.related-content {
overflow-x: auto;
padding-bottom: 15px;
diff --git a/i18n/ar.yaml b/i18n/ar.yaml
index 8af7ff9..b2970b1 100644
--- a/i18n/ar.yaml
+++ b/i18n/ar.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: جدول المحتويات
- relatedContents:
+ relatedContent:
other: محتوى مشابهه
lastUpdatedOn:
diff --git a/i18n/ca.yaml b/i18n/ca.yaml
index 33ad70e..af4167e 100644
--- a/i18n/ca.yaml
+++ b/i18n/ca.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Taula de contingut
- relatedContents:
+ relatedContent:
other: Continguts relacionats
lastUpdatedOn:
diff --git a/i18n/de.yaml b/i18n/de.yaml
index 39baf11..7ab5b56 100644
--- a/i18n/de.yaml
+++ b/i18n/de.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Inhaltsverzeichnis
- relatedContents:
+ relatedContent:
other: Verwandte Inhalte
lastUpdatedOn:
diff --git a/i18n/el.yaml b/i18n/el.yaml
index 38d867f..27a147d 100644
--- a/i18n/el.yaml
+++ b/i18n/el.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Πινακας περιεχομενων
- relatedContents:
+ relatedContent:
other: Σχετικο περιεχομενο
lastUpdatedOn:
diff --git a/i18n/en.yaml b/i18n/en.yaml
index 3d0ed03..fb07328 100644
--- a/i18n/en.yaml
+++ b/i18n/en.yaml
@@ -23,8 +23,8 @@ article:
tableOfContents:
other: Table of contents
- relatedContents:
- other: Related contents
+ relatedContent:
+ other: Related content
lastUpdatedOn:
other: Last updated on
diff --git a/i18n/es.yaml b/i18n/es.yaml
index 5f197da..76995da 100644
--- a/i18n/es.yaml
+++ b/i18n/es.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Tabla de contenido
- relatedContents:
+ relatedContent:
other: Contenidos relacionados
lastUpdatedOn:
diff --git a/i18n/fr.yaml b/i18n/fr.yaml
index ac2e51a..c3feb1d 100644
--- a/i18n/fr.yaml
+++ b/i18n/fr.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Table des matières
- relatedContents:
+ relatedContent:
other: Contenus liés
lastUpdatedOn:
diff --git a/i18n/id.yaml b/i18n/id.yaml
index deeb189..8104351 100644
--- a/i18n/id.yaml
+++ b/i18n/id.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Daftar Isi
- relatedContents:
+ relatedContent:
other: Konten terkait
lastUpdatedOn:
diff --git a/i18n/it.yaml b/i18n/it.yaml
index 6c4114c..a7fa521 100644
--- a/i18n/it.yaml
+++ b/i18n/it.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Indice
- relatedContents:
+ relatedContent:
other: Contenuti correlati
lastUpdatedOn:
diff --git a/i18n/ja.yaml b/i18n/ja.yaml
index ec70d18..40380fd 100644
--- a/i18n/ja.yaml
+++ b/i18n/ja.yaml
@@ -11,7 +11,7 @@ article:
tableOfContents:
other: 目次
- relatedContents:
+ relatedContent:
other: 関連するコンテンツ
lastUpdatedOn:
diff --git a/i18n/ko.yaml b/i18n/ko.yaml
index b2202e6..5ded2b0 100644
--- a/i18n/ko.yaml
+++ b/i18n/ko.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: 목차
- relatedContents:
+ relatedContent:
other: 관련 글
lastUpdatedOn:
diff --git a/i18n/nl.yaml b/i18n/nl.yaml
index b9ecad3..80f1f0c 100644
--- a/i18n/nl.yaml
+++ b/i18n/nl.yaml
@@ -17,7 +17,7 @@ list:
other: Subsecties
article:
- relatedContents:
+ relatedContent:
other: Gerelateerde inhoud
lastUpdatedOn:
other: Laatst bijgewerkt op
diff --git a/i18n/pl.yaml b/i18n/pl.yaml
index 68c9bc8..e44a140 100644
--- a/i18n/pl.yaml
+++ b/i18n/pl.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Spis treści
- relatedContents:
+ relatedContent:
other: Powiązane artykuły
lastUpdatedOn:
diff --git a/i18n/pt-br.yaml b/i18n/pt-br.yaml
index ffdbe41..e3cf582 100644
--- a/i18n/pt-br.yaml
+++ b/i18n/pt-br.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: Índice
- relatedContents:
+ relatedContent:
other: Conteúdo relacionado
lastUpdatedOn:
diff --git a/i18n/ru.yaml b/i18n/ru.yaml
index 65e3be6..b1f1e51 100644
--- a/i18n/ru.yaml
+++ b/i18n/ru.yaml
@@ -23,7 +23,7 @@ list:
article:
back:
other: Назад
- relatedContents:
+ relatedContent:
other: Также рекомендуем
lastUpdatedOn:
other: Обновлено
diff --git a/i18n/th.yaml b/i18n/th.yaml
index b2ae1cd..9982c06 100644
--- a/i18n/th.yaml
+++ b/i18n/th.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: สารบัญ
- relatedContents:
+ relatedContent:
other: เนื้อหาคล้ายคลึงกัน
lastUpdatedOn:
diff --git a/i18n/tr.yaml b/i18n/tr.yaml
index fe9269b..2dbb9d5 100644
--- a/i18n/tr.yaml
+++ b/i18n/tr.yaml
@@ -17,7 +17,7 @@ list:
other: Alt bölümler
article:
- relatedContents:
+ relatedContent:
other: Alakalı içerikler
lastUpdatedOn:
other: Son güncelleme
diff --git a/i18n/uk.yaml b/i18n/uk.yaml
index 966e141..3bd4f71 100644
--- a/i18n/uk.yaml
+++ b/i18n/uk.yaml
@@ -24,7 +24,7 @@ article:
tableOfContents:
other: Зміст
- relatedContents:
+ relatedContent:
other: Схожі матеріали
lastUpdatedOn:
diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml
index 3579945..9350c2b 100644
--- a/i18n/zh-cn.yaml
+++ b/i18n/zh-cn.yaml
@@ -11,7 +11,7 @@ article:
tableOfContents:
other: 目录
- relatedContents:
+ relatedContent:
other: 相关文章
lastUpdatedOn:
diff --git a/i18n/zh-hk.yaml b/i18n/zh-hk.yaml
index d927bdc..9e3c246 100644
--- a/i18n/zh-hk.yaml
+++ b/i18n/zh-hk.yaml
@@ -23,7 +23,7 @@ article:
tableOfContents:
other: 目錄
- relatedContents:
+ relatedContent:
other: 相關內容
lastUpdatedOn:
diff --git a/i18n/zh-tw.yaml b/i18n/zh-tw.yaml
index 871d937..d9e124e 100644
--- a/i18n/zh-tw.yaml
+++ b/i18n/zh-tw.yaml
@@ -11,7 +11,7 @@ article:
tableOfContents:
other: 目錄
- relatedContents:
+ relatedContent:
other: 相關文章
lastUpdatedOn:
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index c70df20..5f300bf 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -30,7 +30,7 @@
{{ partial "article/components/links" . }}
{{ end }}
- {{ partial "article/components/related-contents" . }}
+ {{ partial "article/components/related-content" . }}
{{ if not (eq .Params.comments false) }}
{{ partial "comments/include" . }}
diff --git a/layouts/partials/article/components/related-contents.html b/layouts/partials/article/components/related-content.html
index 29cfff6..aba88e3 100644
--- a/layouts/partials/article/components/related-contents.html
+++ b/layouts/partials/article/components/related-content.html
@@ -1,8 +1,8 @@
{{ $related := (where (.Site.RegularPages.Related .) "Params.hidden" "!=" true) | first 5 }}
{{ with $related }}
-<aside class="related-contents--wrapper">
- <h2 class="section-title">{{ T "article.relatedContents" }}</h2>
- <div class="related-contents">
+<aside class="related-content--wrapper">
+ <h2 class="section-title">{{ T "article.relatedContent" }}</h2>
+ <div class="related-content">
<div class="flex article-list--tile">
{{ range . }}
{{ partial "article-list/tile" (dict "context" . "size" "250x150" "Type" "articleList") }}