From 3502654551079fb734492d77e03df2b6d1499f4a Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Mon, 7 Nov 2016 02:14:43 +0100 Subject: [PATCH] Add option for "latest news" on landing page --- website/index.jade | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/index.jade b/website/index.jade index 024e7dfb9..5a126c8b3 100644 --- a/website/index.jade +++ b/website/index.jade @@ -59,6 +59,9 @@ include _includes/_mixins strong.u-text-label.u-color-subtle #[+icon("code", 18)] Latest release: | v#{SPACY_VERSION} + if LATEST_NEWS + +a(LATEST_NEWS.url) #[+tag.o-icon New!] #{LATEST_NEWS.title} + .o-content +grid +grid-col("two-thirds")