diff options
Diffstat (limited to 'tpl/layouts')
-rw-r--r-- | tpl/layouts/container.pug | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tpl/layouts/container.pug b/tpl/layouts/container.pug index 0c9b6ec..c1affc4 100644 --- a/tpl/layouts/container.pug +++ b/tpl/layouts/container.pug | |||
@@ -12,7 +12,10 @@ mixin container | |||
12 | if (!!attributes.theme) { | 12 | if (!!attributes.theme) { |
13 | classes['t-' + attributes.theme] = true | 13 | classes['t-' + attributes.theme] = true |
14 | } | 14 | } |
15 | if (attributes.class) { | ||
16 | classes[attributes.class] = true | ||
17 | } | ||
15 | 18 | ||
16 | div(class=classes) | 19 | div(class=classes)&attributes(attributes) |
17 | .l-container__inner | 20 | .l-container__inner |
18 | block | 21 | block |