mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
Merge branch 'i18n/add-missing-categories-title' into master
This commit is contained in:
commit
a9d2241396
@ -16,6 +16,9 @@
|
|||||||
[widgetTagCloudTitle]
|
[widgetTagCloudTitle]
|
||||||
other = "Tags"
|
other = "Tags"
|
||||||
|
|
||||||
|
[categoriesTitle]
|
||||||
|
other = "Categories"
|
||||||
|
|
||||||
[notFoundTitle]
|
[notFoundTitle]
|
||||||
other = "Not Found"
|
other = "Not Found"
|
||||||
|
|
||||||
|
@ -16,6 +16,9 @@
|
|||||||
[widgetTagCloudTitle]
|
[widgetTagCloudTitle]
|
||||||
other = "Tags"
|
other = "Tags"
|
||||||
|
|
||||||
|
[categoriesTitle]
|
||||||
|
other = "Categorias"
|
||||||
|
|
||||||
[notFoundTitle]
|
[notFoundTitle]
|
||||||
other = "Não Encontrado"
|
other = "Não Encontrado"
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
{{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
|
{{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
|
||||||
{{ if $categories }}
|
{{ if $categories }}
|
||||||
<h2 class="section-title">Categories</h2>
|
<h2 class="section-title">{{ T "categoriesTitle" }}</h2>
|
||||||
<div class="category-list">
|
<div class="category-list">
|
||||||
<div class="article-list--tile">
|
<div class="article-list--tile">
|
||||||
{{ range $categories }}
|
{{ range $categories }}
|
||||||
|
Loading…
Reference in New Issue
Block a user