mirror of
https://github.com/foo-dogsquared/hugo-theme-contentful.git
synced 2025-01-31 04:58:03 +00:00
Update terms page
This commit is contained in:
parent
fd6a6c7a38
commit
4c24ef2e96
@ -7,6 +7,15 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
== Unreleased
|
||||||
|
|
||||||
|
=== Changed
|
||||||
|
|
||||||
|
* Update the terms page.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
== [2.2.0] - 2020-11-06
|
== [2.2.0] - 2020-11-06
|
||||||
|
|
||||||
|
|
||||||
|
@ -6,7 +6,8 @@
|
|||||||
{{- range .Data.Terms }}
|
{{- range .Data.Terms }}
|
||||||
{{- $pages := .Pages }}
|
{{- $pages := .Pages }}
|
||||||
{{- if ge (len $pages) 1 }}
|
{{- if ge (len $pages) 1 }}
|
||||||
<header id="{{ .Page.Title | urlize }}" class="taxonomy__header">
|
<section id="{{ .Page.Title | urlize }}">
|
||||||
|
<header class="taxonomy__header">
|
||||||
<h2>{{ .Page.Title }}</h2>
|
<h2>{{ .Page.Title }}</h2>
|
||||||
<small>(<a href="{{ .Page.RelPermalink }}">{{ i18n "permalink" | default "Permalink" }}</a>)</small>
|
<small>(<a href="{{ .Page.RelPermalink }}">{{ i18n "permalink" | default "Permalink" }}</a>)</small>
|
||||||
</header>
|
</header>
|
||||||
@ -18,6 +19,7 @@
|
|||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
</section>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user