diff options
Diffstat (limited to 'tpl/layouts/container.pug')
-rw-r--r-- | tpl/layouts/container.pug | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/layouts/container.pug b/tpl/layouts/container.pug index 9dde2d6..c64de11 100644 --- a/tpl/layouts/container.pug +++ b/tpl/layouts/container.pug | |||
@@ -2,12 +2,12 @@ mixin container | |||
2 | - | 2 | - |
3 | let classes = { | 3 | let classes = { |
4 | 'l-container': true, | 4 | 'l-container': true, |
5 | 'l-container--pad-h': attributes.padH, | 5 | 'l-container--pad-x': attributes.padX, |
6 | 'l-container--pad-v': attributes.padV, | 6 | 'l-container--pad-y': attributes.padY, |
7 | 'l-container--narrow': attributes.narrow, | 7 | 'l-container--narrow': attributes.narrow, |
8 | 'l-container--sm-narrow': attributes.smNarrow, | 8 | 'l-container--sm-narrow': attributes.smNarrow, |
9 | 'l-container--in-page': attributes.inPage, | 9 | 'l-container--in-page': attributes.inPage, |
10 | 'l-container--themed': attributes.themed | 10 | 'l-container--themed': !!attributes.theme |
11 | } | 11 | } |
12 | if (!!attributes.theme) { | 12 | if (!!attributes.theme) { |
13 | classes['t-' + attributes.theme] = true | 13 | classes['t-' + attributes.theme] = true |