From 740e9edf5278778ed6d13bedc4716a195dc65097 Mon Sep 17 00:00:00 2001 From: Matthias Mair Date: Sat, 16 Apr 2022 23:39:34 +0200 Subject: [PATCH] add more link options --- _includes/fnc/link.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_includes/fnc/link.html b/_includes/fnc/link.html index 7be7b8be..eda5ec42 100644 --- a/_includes/fnc/link.html +++ b/_includes/fnc/link.html @@ -1,4 +1,7 @@ {% capture link %} +{% if include.internal %} + {% link include.internal %} +{% endif %} {% if include.item.site %} {{ site[include.item.site] }} {% elsif include.item.internal %} @@ -7,7 +10,7 @@ {{ include.item.link | include fnc/link.html }} {% elsif include.item.home %} {{ '/' | relative_url }} -{% else %} +{% elsif include.item %} {{ include.item }} {% endif %} {% endcapture %}