summaryrefslogtreecommitdiffstats
path: root/tpl/objects/heading.pug
blob: 546df43fb774907728ddb30fc6a6409742121de8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
mixin h1-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h1(class=classes)
        block

mixin h2-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h2(class=classes)
        block

mixin h3-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h3(class=classes)
        block

mixin h4-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h4(class=classes)
        block

mixin h5-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h5(class=classes)
        block

mixin h6-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    h6(class=classes)
        block

mixin div-heading
    - let classes = ['o-heading', 'o-heading--' + attributes.level]
    div(class=classes)
        block