renamed discreteCards to paperCards, discreteTags to buttonTags; got rid of discrete class in favor of pure hugo conditional styling

This commit is contained in:
Gabriele Musco 2021-12-28 10:46:29 +01:00
parent 74132d5083
commit c896fcb147
No known key found for this signature in database
GPG key ID: 0587A5D65B5DC99E
8 changed files with 25 additions and 30 deletions

View file

@ -3,7 +3,7 @@
<div class="postlist gridView">
{{ range (sort $showcasePosts "File.LogicalName") }}
{{ if in .File.Dir .Site.Params.showcaseDir }}
<article class="card postlistitem {{ if .Site.Params.discreteCards }}discrete{{ end }}">
<article class="card postlistitem">
<div>
<h2>{{ .Title }}</h2>
{{ if .Params.image }}