New card template. Add settings to transpile sass with libsass or dartsass. Add setting to use internal pagination template. Wrap summary in p tags.

This commit is contained in:
Fredrik Jonsson 2023-01-25 10:03:12 +01:00
commit f58575e232
2 changed files with 19 additions and 8 deletions

View file

@ -0,0 +1,8 @@
<article class="card{{ with .Section }} card--{{ . | urlize }}{{ end }}">
<header>
<h2 class="title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
</header>
<div class="content">
<p>{{ .Summary }}</p>
</div>
</article>

View file

@ -4,6 +4,6 @@
{{ if $.Param "submitted" | default false }}{{ partial "submitted.html" . -}}{{ end }}
</header>
<div class="content">
{{ .Summary }}
<p>{{ .Summary }}</p>
</div>
</article>