diff --git a/themes/default/layouts/_default/_markup/render-link.html b/themes/default/layouts/_default/_markup/render-link.html index 0c60a842..b38bac09 100644 --- a/themes/default/layouts/_default/_markup/render-link.html +++ b/themes/default/layouts/_default/_markup/render-link.html @@ -16,7 +16,13 @@ {{- $newURL = printf "%s://%s%s?%s=%s" $parsed.Scheme $host $path $param $value -}} {{- end }} {{- end -}} - +{{- $titlePrefix := "" -}} +{{- if $isAffiliated -}} +{{- $titlePrefix = "Lien affiliƩ" -}} +{{- else if $isExternal -}} +{{- $titlePrefix = "Lien externe" -}} +{{- end -}} + {{- .Text | safeHTML -}} \ No newline at end of file