{{- $sameSite := true -}} {{- $finalDest := .Destination -}} {{- if eq (.Destination | relURL) (.Destination | absURL) }}{{ $sameSite = false }}{{ end -}} {{- if not $sameSite -}} {{- if in $finalDest "?"}}{{ $finalDest = printf "%s%s" $finalDest "&utm_source=indieweb" -}} {{- else }}{{ $finalDest = printf "%s%s" $finalDest "?utm_source=indieweb" -}} {{- end -}} {{- end -}} {{.Text | safeHTML}}