From a6d3fbcfe90103ac3000d98cc97879d1c5c00915 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 10 Jun 2022 22:04:37 +0200 Subject: Updated headings --- tpl/objects/heading.pug | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tpl/objects') 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) h6(class=classes)&attributes(attributes) block -mixin div-heading(level, inner = false) +mixin div-heading(level, primary = false) - let classes = ['o-heading', 'o-heading--' + level] div(class=classes)&attributes(attributes) - if inner - span.o-heading__inner + if primary + span.o-heading__primary block else block -- cgit v1.2.3-70-g09d2