diff options
Diffstat (limited to 'tpl/objects/rule.pug')
-rw-r--r-- | tpl/objects/rule.pug | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tpl/objects/rule.pug b/tpl/objects/rule.pug deleted file mode 100644 index b2f3a38..0000000 --- a/tpl/objects/rule.pug +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | mixin rule(level) | ||
2 | - | ||
3 | let classes = { | ||
4 | 'o-rule': true, | ||
5 | 'o-rule--labelled': !!block, | ||
6 | ['o-rule--' + level]: true | ||
7 | } | ||
8 | |||
9 | div(class=classes)&attributes(attributes) | ||
10 | if block | ||
11 | .o-rule__label | ||
12 | block | ||