From 442be063895acd546ee2da008676eee7dd54d0a6 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Mon, 8 Nov 2021 00:10:55 +0100 Subject: [PATCH] refactor --- home/_includes/features.html | 1 + home/_includes/functions.html | 8 +++----- home/_includes/learn_more.html | 3 +++ 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 home/_includes/learn_more.html diff --git a/home/_includes/features.html b/home/_includes/features.html index f501f8db..eebaea18 100644 --- a/home/_includes/features.html +++ b/home/_includes/features.html @@ -16,6 +16,7 @@

{{ item.subtitle }}

{{ item.title }}

{{ item.description }}

+ Learn More {% include learn_more.html %} {% endfor %} diff --git a/home/_includes/functions.html b/home/_includes/functions.html index 66417b4a..eb1ca272 100644 --- a/home/_includes/functions.html +++ b/home/_includes/functions.html @@ -10,11 +10,9 @@

{{ item.title }}

{{ item.text }}

- Learn More - - - - + {% if item.link %} + Learn More {% include learn_more.html %} + {% endif %}
{% endfor %} diff --git a/home/_includes/learn_more.html b/home/_includes/learn_more.html new file mode 100644 index 00000000..7196b2b0 --- /dev/null +++ b/home/_includes/learn_more.html @@ -0,0 +1,3 @@ + + + \ No newline at end of file