Tweaks to asset listing

This commit is contained in:
2018-09-11 17:45:33 +02:00
parent c546dd2881
commit 3ae16d7750
8 changed files with 185 additions and 204 deletions

View File

@@ -48,9 +48,8 @@ mixin nav-secondary-link()
a.nav-link&attributes(attributes)
block
// {# Takes as argument the number of columns to use in this deck. 1-6 #}
mixin card-deck(columns)
.card-deck.card-padless(class='card-' + columns + '-columns')&attributes(attributes)
mixin card-deck()
.card-deck.card-padless.card-deck-responsive()&attributes(attributes)
if block
block
else
@@ -73,6 +72,10 @@ mixin list-asset(name, url, image, type, date)
if image
.embed-responsive.embed-responsive-16by9
.card-img-top.embed-responsive-item(style="background-image: url(" + image + ")")
else
.card-img-top
.card-icon
i.pi-blender
.card-body.py-2
if name