riq0h.jp/themes/qiss/layouts/_default/_markup/render-link.html
2023-08-21 10:07:01 +09:00

1 line
No EOL
166 B
HTML

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