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: "" summary: ""
img: img:
teaser: "" teaser: ""
domains: [] domains: []
topics: [] topics: []
doctypes: [] doctypes: []
date: {{ .Date }} date: {{ .Date }}
author: author:
draft: false draft: false
weight: 50 weight: 50
--- ---

View file

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