riq0h.jp/themes/qiss/layouts/_default/_markup/render-link.html

1 line
166 B
HTML
Raw Normal View History

2023-08-21 10:07:01 +09:00
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank"{{ end }}>{{ .Text }}</a>