diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/table.pug | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tpl/objects/table.pug b/tpl/objects/table.pug index 9fb2a06..0e1632d 100644 --- a/tpl/objects/table.pug +++ b/tpl/objects/table.pug | |||
@@ -1,5 +1,12 @@ | |||
1 | mixin table | 1 | mixin table |
2 | table.o-table | 2 | - |
3 | let classes = { | ||
4 | 'o-table': true, | ||
5 | 'o-table--flush': attributes.flush, | ||
6 | 'o-table--box': attributes.box, | ||
7 | } | ||
8 | |||
9 | table(class=classes) | ||
3 | block | 10 | block |
4 | 11 | ||
5 | mixin table-head | 12 | mixin table-head |