diff --git a/_includes/fnc/link.html b/_includes/fnc/link.html index 919b6a54..7be7b8be 100644 --- a/_includes/fnc/link.html +++ b/_includes/fnc/link.html @@ -1,11 +1,15 @@ +{% capture link %} {% if include.item.site %} {{ site[include.item.site] }} {% elsif include.item.internal %} {{ include.item.internal | relativurl }} {% elsif include.item.link %} - {{ include.item.link }} + {{ include.item.link | include fnc/link.html }} {% elsif include.item.home %} - {{ '/' | relative_url }} + {{ '/' | relative_url }} {% else %} {{ include.item }} -{% endif %} \ No newline at end of file +{% endif %} +{% endcapture %} + +{{ link | strip }} \ No newline at end of file