diff options
Diffstat (limited to 'tpl/objects/card.pug')
-rw-r--r-- | tpl/objects/card.pug | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/tpl/objects/card.pug b/tpl/objects/card.pug index 1db2fe5..feb1441 100644 --- a/tpl/objects/card.pug +++ b/tpl/objects/card.pug | |||
@@ -1,9 +1,11 @@ | |||
1 | mixin card | 1 | mixin card |
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'o-card': true, | 4 | 'o-card': true, |
5 | 'o-card--quiet': !!attributes.quiet, | 5 | 'o-card--borderless': !!attributes.borderless, |
6 | 'o-card--thumbnail': !!attributes.thumbnail, | 6 | 'o-card--shadow': !!attributes.shadow, |
7 | 'o-card--quiet': !!attributes.quiet, | ||
8 | 'o-card--thumbnail': !!attributes.thumbnail, | ||
7 | } | 9 | } |
8 | 10 | ||
9 | if (attributes.class) { | 11 | if (attributes.class) { |