update taxonomy listing

This commit is contained in:
Helmut Merz 2020-09-02 17:18:30 +02:00
parent 4d2d299126
commit 3a87abf65f
2 changed files with 7 additions and 6 deletions

View file

@ -1,14 +1,14 @@
---
title: "{{ replace .Name "-" " " | title }}"
title: "{{ replace .Name "-" " " | title }}"
summary: ""
img:
teaser: ""
domains: []
topics: []
doctypes: []
date: {{ .Date }}
date: {{ .Date }}
author:
draft: false
draft: false
weight: 50
---

View file

@ -13,8 +13,9 @@
</div>
<div class="row">
{{ range .Data.Terms.ByCount }}
<div class="col-md-4 mt-3">
{{- $site := .Site }}
{{ range .Data.Terms.ByCount -}}
<div class="col-md-{{or $site.Params.TaxoWidth 4}} mt-3">
<div class="card">
<a href="{{ .Page.Permalink }}"
class="list-group-item d-flex justify-content-between align-items-center text-decoration-none">
@ -23,7 +24,7 @@
</a>
</div>
</div>
{{ end }}
{{- end }}
</div>
</div>