From a6ae8a54fddeb52f77ed2c509f2b1634d91dada9 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Tue, 9 Nov 2021 00:26:34 +0100 Subject: [PATCH] use link everywhere --- _includes/cta.html | 4 ++-- _includes/features.html | 4 ++-- _includes/functions.html | 2 +- _includes/link.html | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/_includes/cta.html b/_includes/cta.html index e3f66f09..433184c7 100644 --- a/_includes/cta.html +++ b/_includes/cta.html @@ -5,10 +5,10 @@

{{ include.cta.text|default:include.text }}

{% for item in include.cta.btn %} - {{ item.text }} + {{ item.text }} {% endfor %} {% if include.link %} - {{ include.link_text }} + {{ include.link_text }} {% endif %}
{% unless include.no_container %} diff --git a/_includes/features.html b/_includes/features.html index de5eee7c..f66e744a 100644 --- a/_includes/features.html +++ b/_includes/features.html @@ -6,7 +6,7 @@

{{ include.data.header.title }}

{% if include.link %} - {% include learn_more.html %} + {% include learn_more.html %} {% endif %}
@@ -23,7 +23,7 @@

{{ item.description }} {% if include.extend and item.extend %}

{{ item.extend }}{% endif %}

- Learn More {% include learn_more.html %} + Learn More {% include learn_more.html %} {% endfor %} diff --git a/_includes/functions.html b/_includes/functions.html index c8b808fa..a363359c 100644 --- a/_includes/functions.html +++ b/_includes/functions.html @@ -17,7 +17,7 @@ {% if include.extend and item.extend %}

{{ item.extend }}{% endif %}

{% if item.link %} - Learn More {% include learn_more.html %} + Learn More {% include learn_more.html %} {% endif %} {% endfor %} diff --git a/_includes/link.html b/_includes/link.html index 2a2e31b8..7154ef00 100644 --- a/_includes/link.html +++ b/_includes/link.html @@ -2,6 +2,8 @@ {{ site[include.item.site] }} {% elsif include.item.internal %} {{ include.item.internal | relativurl }} -{% else %} +{% elsif include.item.link %} {{ include.item.link }} +{% else %} + {{ include.item }} {% endif %} \ No newline at end of file