From ad6438ccdff8e3e1a576bc334fb9fb955e878e3c Mon Sep 17 00:00:00 2001 From: ines Date: Tue, 7 Nov 2017 00:23:00 +0100 Subject: [PATCH] Update aside labels and under construction mixin --- website/_includes/_mixins.jade | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/website/_includes/_mixins.jade b/website/_includes/_mixins.jade index fba383ee0..e93fc7afd 100644 --- a/website/_includes/_mixins.jade +++ b/website/_includes/_mixins.jade @@ -127,20 +127,22 @@ mixin help(tooltip, icon_size) //- Aside wrapper label - [string] aside label -mixin aside-wrapper(label) +mixin aside-wrapper(label, emoji) aside.c-aside .c-aside__content(role="complementary")&attributes(attributes) if label - h4.u-text-label.u-text-label--dark=label - + h4.u-text-label.u-text-label--dark + if emoji + span.o-emoji=emoji + | #{label} block //- Aside for text label - [string] aside title (optional) -mixin aside(label) - +aside-wrapper(label) +mixin aside(label, emoji) + +aside-wrapper(label, emoji) .c-aside__text.u-text-small block @@ -703,6 +705,6 @@ mixin landing-logos(title, logos) mixin under-construction() +infobox("Under construction", "🚧") | This section is still being written and will be updated for the v2.0 - | release. Is there anything that you think should definitely mentioned or - | explained here? Any examples you'd like to see? #[strong Let us know] - | on the #[+a(gh("spacy") + "/issues/1105") v2.0 alpha thread] on GitHub! + | release. Is there anything that you think should definitely mentioned + | or explained here? Any examples you'd like to see? + | #[strong Let us know] on the #[+a(gh("spacy") + "/issues") issue tracker]!