diff options
Diffstat (limited to 'tpl/objects/header.pug')
-rw-r--r-- | tpl/objects/header.pug | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tpl/objects/header.pug b/tpl/objects/header.pug new file mode 100644 index 0000000..4518afc --- /dev/null +++ b/tpl/objects/header.pug | |||
@@ -0,0 +1,12 @@ | |||
1 | mixin header | ||
2 | - | ||
3 | let classes = { | ||
4 | 'o-header': true | ||
5 | } | ||
6 | if (attributes.class) { | ||
7 | classes[attributes.class] = true; | ||
8 | } | ||
9 | |||
10 | header(class=classes) | ||
11 | .o-header__content.t-lowered | ||
12 | block | ||