mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-24 17:06:29 +03:00
Add infobox mixin
This commit is contained in:
parent
3ad2179360
commit
3e3f20e68b
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user