diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index 8a42024c1..ba5a9297e 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -67,6 +67,17 @@ mixin aside-code(label, language) 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 url - [string] link href trusted - [boolean] if not set / false, rel="noopener nofollow" is added