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:
parent
2ef4820209
commit
f58575e232
1 changed files with 19 additions and 8 deletions
8
layouts/_default/card.html
Normal file
8
layouts/_default/card.html
Normal 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>
|
||||
Loading…
Reference in a new issue