summaryrefslogtreecommitdiffstats
path: root/tpl/objects/header.pug
blob: 4518afc4840b5c487eeeb29112289e3202a19755 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
mixin header
    -
        let classes = {
            'o-header': true
        }
        if (attributes.class) {
            classes[attributes.class] = true;
        }

    header(class=classes)
        .o-header__content.t-lowered
            block