mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 03:53:30 +08:00
fix(page): fix display of block name "categories" for multilanguage
This commit is contained in:
parent
2457d37216
commit
d385820580
@ -4,7 +4,7 @@
|
|||||||
{{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}}
|
{{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}}
|
||||||
{{- $terms := $taxonomy.Pages -}}
|
{{- $terms := $taxonomy.Pages -}}
|
||||||
{{ if $terms }}
|
{{ if $terms }}
|
||||||
<h2 class="section-title">{{ $taxonomy.Title }}</h2>
|
<h2 class="section-title">{{ T "widget.categoriesCloud.title" }}</h2>
|
||||||
<div class="subsection-list">
|
<div class="subsection-list">
|
||||||
<div class="article-list--tile">
|
<div class="article-list--tile">
|
||||||
{{ range $terms }}
|
{{ range $terms }}
|
||||||
|
Loading…
Reference in New Issue
Block a user