Implement new layout dir structure.

This commit is contained in:
Fredrik Jonsson 2025-04-11 15:08:04 +02:00
commit 83530eb11a

7
layouts/summary.html Normal file
View file

@ -0,0 +1,7 @@
<article class="list-view{{ with .Section }} list-view--{{ . | urlize }}{{ end }}">
<header>
<h2 class="title mt--s{{ if $.Param "submitted" | default false }} mb--xxs{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
</header>
{{ .Summary }}
</article>