summaryrefslogtreecommitdiffstats
path: root/tpl/layouts/container.pug
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/layouts/container.pug')
-rw-r--r--tpl/layouts/container.pug8
1 files changed, 2 insertions, 6 deletions
diff --git a/tpl/layouts/container.pug b/tpl/layouts/container.pug
index c1affc4..0973b74 100644
--- a/tpl/layouts/container.pug
+++ b/tpl/layouts/container.pug
@@ -2,11 +2,8 @@ mixin container
2 - 2 -
3 let classes = { 3 let classes = {
4 'l-container': true, 4 'l-container': true,
5 'l-container--pad-x': attributes.padX,
6 'l-container--pad-y': attributes.padY,
7 'l-container--narrow': attributes.narrow, 5 'l-container--narrow': attributes.narrow,
8 'l-container--sm-narrow': attributes.smNarrow, 6 'l-container--narrow-50': attributes.narrow50,
9 'l-container--in-page': attributes.inPage,
10 'u-themed': !!attributes.theme 7 'u-themed': !!attributes.theme
11 } 8 }
12 if (!!attributes.theme) { 9 if (!!attributes.theme) {
@@ -17,5 +14,4 @@ mixin container
17 } 14 }
18 15
19 div(class=classes)&attributes(attributes) 16 div(class=classes)&attributes(attributes)
20 .l-container__inner 17 block
21 block