test link solution on ghpages

This commit is contained in:
timurgordon
2022-07-28 13:58:02 +02:00
parent d7f4e56400
commit 1a7402e2dc

View File

@@ -12,8 +12,11 @@ Parameters:
{% if page %} {% if page %}
{% if "![" in body %} {% if "![" in body %}
{% set url_prefix = "](" ~ page.permalink %} {% set url_prefix = "](" ~ page.permalink %}
{% set test = get_url(path="/farm")%}
{% set body = body | replace(from="](", to=url_prefix) %} {% set body = body | replace(from="](", to=url_prefix) %}
{% set body = body | replace(from=url_prefix ~ "http", to="](http") %} {% set body = body | replace(from=url_prefix ~ "http", to="](http") %}
{{test}}
{% endif %} {% endif %}
{% endif %} {% endif %}