Aggiunto pezzo che linka in automatico siti esterni. Aggiunge uno spazio di troppo, però.

This commit is contained in:
Emiliano Vavassori 2024-06-20 01:39:08 +02:00
parent 3df4df2651
commit 1e5ee37669

View File

@ -0,0 +1 @@
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a>