diff options
author | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-03-25 18:29:21 +0100 |
commit | 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 (patch) | |
tree | e3b22a889bd4f8a6679d76dbe85c3152173947a6 /tpl/layouts | |
parent | Fixed vertical rule (diff) | |
download | iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.gz iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.tar.bz2 iro-design-5e2696d9ae35b37a9f7d0fe1c52b93fb84570464.zip |
Split demo in :target views
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 |