added discrete card style mode option

This commit is contained in:
Gabriele Musco 2021-01-05 09:38:10 +01:00
parent 6ad7b2ee75
commit a91a0af75a
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
6 changed files with 26 additions and 5 deletions

View file

@ -6,7 +6,7 @@
{{/* pagination */}}
{{ range (.Paginate $postsList).Pages }}
<div class="card">
<div class="card {{ if .Site.Params.discreteCards }}discrete{{ end }}">
<h2>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h2>