rootdo/layouts/_default/_markup/render-link.html

2 lines
167 B
HTML
Raw Permalink Normal View History

2024-10-04 12:44:59 +00:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a>