Add option for "latest news" on landing page

This commit is contained in:
Ines Montani 2016-11-07 02:14:43 +01:00
parent f91bf4d59c
commit 3502654551

View File

@ -59,6 +59,9 @@ include _includes/_mixins
strong.u-text-label.u-color-subtle #[+icon("code", 18)] Latest release: strong.u-text-label.u-color-subtle #[+icon("code", 18)] Latest release:
| v#{SPACY_VERSION} | v#{SPACY_VERSION}
if LATEST_NEWS
+a(LATEST_NEWS.url) #[+tag.o-icon New!] #{LATEST_NEWS.title}
.o-content .o-content
+grid +grid
+grid-col("two-thirds") +grid-col("two-thirds")