From 5e3904bdff27e277456b2365da6381bddc595268 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 6 Nov 2021 02:57:04 +0100 Subject: [PATCH] refactor hero --- home/_includes/hero.html | 13 ++++++++++--- home/index.md | 2 +- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/home/_includes/hero.html b/home/_includes/hero.html index 58c2cbcf..2cfdf4b0 100644 --- a/home/_includes/hero.html +++ b/home/_includes/hero.html @@ -1,8 +1,13 @@
-

Before they sold out - readymade gluten +

{{ include.title }} + {% if include.title_2 %} + {{ include.title_2 }} + {% endif %} + {% if include.color %} + {{ include.color }} + {% endif %}

Copper mug try-hard pitchfork pour-over freegan heirloom neutra air plant cold-pressed tacos poke beard tote bag. Heirloom echo park mlkshk tote bag selvage hot chicken authentic tumeric truffaut hexagon try-hard chambray.

@@ -11,7 +16,9 @@
- hero + {% if include.image %} + hero + {% endif %}
\ No newline at end of file diff --git a/home/index.md b/home/index.md index d007109f..e1f25ff1 100644 --- a/home/index.md +++ b/home/index.md @@ -3,8 +3,8 @@ layout: default backLink: false --- +{% include hero.html title=site.tagline title_2='and more' image='https://dummyimage.com/860x600' color='with InvenTree' %} -{% include hero.html %} {% assign for_b = site.data.for_b %} {% include features.html data=for_b %}