Replace hardcoded text with i18n

This commit is contained in:
Daniel Pessoa 2020-12-07 19:37:18 -03:00 committed by GitHub
parent aa53db8592
commit c2e817e7ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
{{ define "main" }}
{{ $categories := ($.Site.GetPage "taxonomyTerm" "categories").Pages }}
{{ if $categories }}
<h2 class="section-title">Categories</h2>
<h2 class="section-title">{{ T "categoriesTitle" }}</h2>
<div class="category-list">
<div class="article-list--tile">
{{ range $categories }}
@ -29,4 +29,4 @@
{{ end }}
{{ partialCached "footer/footer" . }}
{{ end }}
{{ end }}