From 5e2696d9ae35b37a9f7d0fe1c52b93fb84570464 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 25 Mar 2022 18:29:21 +0100 Subject: Split demo in :target views --- tpl/layouts/container.pug | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tpl/layouts') 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 if (!!attributes.theme) { classes['t-' + attributes.theme] = true } + if (attributes.class) { + classes[attributes.class] = true + } - div(class=classes) + div(class=classes)&attributes(attributes) .l-container__inner block -- cgit v1.2.3-70-g09d2