Add taxonomy summary template without date but with count and description.

This commit is contained in:
Fredrik Jonsson 2023-01-26 12:26:17 +01:00
commit b1f0337557
2 changed files with 15 additions and 0 deletions

View file

@ -59,6 +59,8 @@ article > header,
color: var(--color-headings);
}
// Article and content.
article > .content,
aside {
ul {
@ -134,6 +136,13 @@ article {
margin-bottom: .2rem;
}
.meta {
color: var(--color-text-meta);
font-size: var(--fs-s);
}
// Figure and image.
figure,
img {
&.image {

View file

@ -0,0 +1,6 @@
<article class="list-view{{ with .Section }} list-view--{{ . | urlize }}{{ end }}">
<h2 class="title"><a href="{{ .RelPermalink }}">{{ .Title }}</a> <span class="meta">({{ .Data.Pages.Len }})</span></h2>
<div class="content">
<p>{{ .Description }}</p>
</div>
</article>