Add infobox mixin

This commit is contained in:
ines 2017-03-16 21:53:15 +01:00
parent 3ad2179360
commit 3e3f20e68b

View File

@ -67,6 +67,17 @@ mixin aside-code(label, language)
block block
//- Infobox
label - [string] infobox title (optional or false for no title)
mixin infobox(label)
aside.o-box.o-block.u-text-small
if label
h3.u-text-label.u-color-theme=label
block
//- Link button //- Link button
url - [string] link href url - [string] link href
trusted - [boolean] if not set / false, rel="noopener nofollow" is added trusted - [boolean] if not set / false, rel="noopener nofollow" is added