mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2024-11-27 04:03:48 +01:00
refactor: rename "Related contents" to "Related content" (#567)
This commit is contained in:
parent
58b1e0706a
commit
5e350b92e8
24 changed files with 27 additions and 27 deletions
|
@ -166,7 +166,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.related-contents {
|
||||
.related-content {
|
||||
overflow-x: auto;
|
||||
padding-bottom: 15px;
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: جدول المحتويات
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: محتوى مشابهه
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Taula de contingut
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Continguts relacionats
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Inhaltsverzeichnis
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Verwandte Inhalte
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Πινακας περιεχομενων
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Σχετικο περιεχομενο
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,8 +23,8 @@ article:
|
|||
tableOfContents:
|
||||
other: Table of contents
|
||||
|
||||
relatedContents:
|
||||
other: Related contents
|
||||
relatedContent:
|
||||
other: Related content
|
||||
|
||||
lastUpdatedOn:
|
||||
other: Last updated on
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Tabla de contenido
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Contenidos relacionados
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Table des matières
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Contenus liés
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Daftar Isi
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Konten terkait
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Indice
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Contenuti correlati
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -11,7 +11,7 @@ article:
|
|||
tableOfContents:
|
||||
other: 目次
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: 関連するコンテンツ
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: 목차
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: 관련 글
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -17,7 +17,7 @@ list:
|
|||
other: Subsecties
|
||||
|
||||
article:
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Gerelateerde inhoud
|
||||
lastUpdatedOn:
|
||||
other: Laatst bijgewerkt op
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Spis treści
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Powiązane artykuły
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Índice
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Conteúdo relacionado
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ list:
|
|||
article:
|
||||
back:
|
||||
other: Назад
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Также рекомендуем
|
||||
lastUpdatedOn:
|
||||
other: Обновлено
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: สารบัญ
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: เนื้อหาคล้ายคลึงกัน
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -17,7 +17,7 @@ list:
|
|||
other: Alt bölümler
|
||||
|
||||
article:
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Alakalı içerikler
|
||||
lastUpdatedOn:
|
||||
other: Son güncelleme
|
||||
|
|
|
@ -24,7 +24,7 @@ article:
|
|||
tableOfContents:
|
||||
other: Зміст
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: Схожі матеріали
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -11,7 +11,7 @@ article:
|
|||
tableOfContents:
|
||||
other: 目录
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: 相关文章
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -23,7 +23,7 @@ article:
|
|||
tableOfContents:
|
||||
other: 目錄
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: 相關內容
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -11,7 +11,7 @@ article:
|
|||
tableOfContents:
|
||||
other: 目錄
|
||||
|
||||
relatedContents:
|
||||
relatedContent:
|
||||
other: 相關文章
|
||||
|
||||
lastUpdatedOn:
|
||||
|
|
|
@ -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" . }}
|
||||
|
|
|
@ -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") }}
|
Loading…
Reference in a new issue