rootdo/layouts/_default/_markup/render-link.html
2024-10-04 12:44:59 +00:00

1 line
167 B
HTML

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