test links

This commit is contained in:
2022-09-08 11:44:41 +02:00
parent 19e93c3988
commit f636f3749b
3 changed files with 5 additions and 7 deletions

View File

@@ -36,9 +36,7 @@ Parameters:
{% endif %}
<!-- makes external links in row open in new tabs-->
{% set body = body | markdown | replace(from='href="', to='target="_blank" href="') | safe %}
{% set base_url = get_url(path="")%}
{% set body = body | markdown | replace(from='target="_blank" href="' ~ base_url , to='href="' ~ base_url) | safe %}
<!-- Splits body to columns -->
{% set columns = body | safe | markdown | split(pat="|||") %}