Use i18n string for taxonomy layout

This allows for overriding of the string (without overriding the whole
layout), such as
[here](23240c3367)
This commit is contained in:
Jack Jackson 2022-01-23 12:11:41 -08:00
parent 523c771661
commit 6b61c7bb00

View File

@ -1,10 +1,10 @@
{{ define "main" }} {{ define "main" }}
<article class="cf pa3 pa4-m pa4-l"> <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" }}"> <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> </div>
</article> </article>
<div class="mw8 center"> <div class="mw8 center">
<section class="flex-ns flex-wrap justify-around mt5"> <section class="flex-ns flex-wrap justify-around mt5">
{{ range .Pages }} {{ range .Pages }}
<div class="relative w-100 mb4 bg-white"> <div class="relative w-100 mb4 bg-white">