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

github.com/budparr/gohugo-theme-ananke.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Jackson <scubbojj@gmail.com>2022-02-02 19:05:42 +0300
committerGitHub <noreply@github.com>2022-02-02 19:05:42 +0300
commitf6329f3e37d45460dfd4b476fd4e5a6020e32332 (patch)
tree400249020cb1bf8f82b0fbee8fc541a13f5f8f95
parentbaaf9476db7185daad2d27cc268d746712cc9fea (diff)
Use i18n string for taxonomy layout (#500)
This allows for overriding of the string (without overriding the whole layout), such as [here](https://github.com/scubbo/blogContent/commit/23240c3367164c9300eb8895a7837c7f07ff5b9c)
-rw-r--r--layouts/_default/taxonomy.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/taxonomy.html b/layouts/_default/taxonomy.html
index 6741379..33d8efb 100644
--- a/layouts/_default/taxonomy.html
+++ b/layouts/_default/taxonomy.html
@@ -1,10 +1,10 @@
{{ define "main" }}
<article class="cf pa3 pa4-m pa4-l">
<div class="measure-wide-l center f4 lh-copy nested-copy-line-height nested-links nested-img {{ $.Param "text_color" | default "mid-gray" }}">
- <p>Below you will find pages that utilize the taxonomy term “{{ .Title }}”</p>
+ <p>{{ i18n "taxonomyPageList" . }}</p>
</div>
</article>
- <div class="mw8 center">
+ <div class="mw8 center">
<section class="flex-ns flex-wrap justify-around mt5">
{{ range .Pages }}
<div class="relative w-100 mb4 bg-white">