diff options
Diffstat (limited to 'tpl/objects')
-rw-r--r-- | tpl/objects/heading.pug | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tpl/objects/heading.pug b/tpl/objects/heading.pug index aa3fec9..47ffefa 100644 --- a/tpl/objects/heading.pug +++ b/tpl/objects/heading.pug | |||
@@ -32,11 +32,11 @@ mixin h6-heading(level) | |||
32 | h6(class=classes)&attributes(attributes) | 32 | h6(class=classes)&attributes(attributes) |
33 | block | 33 | block |
34 | 34 | ||
35 | mixin div-heading(level, inner = false) | 35 | mixin div-heading(level, primary = false) |
36 | - let classes = ['o-heading', 'o-heading--' + level] | 36 | - let classes = ['o-heading', 'o-heading--' + level] |
37 | div(class=classes)&attributes(attributes) | 37 | div(class=classes)&attributes(attributes) |
38 | if inner | 38 | if primary |
39 | span.o-heading__inner | 39 | span.o-heading__primary |
40 | block | 40 | block |
41 | else | 41 | else |
42 | block | 42 | block |