Add taxonomy summary template without date but with count and description.
This commit is contained in:
parent
a73bd66144
commit
b1f0337557
2 changed files with 15 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
6
layouts/taxonomy/summary.html
Normal file
6
layouts/taxonomy/summary.html
Normal 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>
|
||||
Loading…
Reference in a new issue