website/layouts/_default/_markup/render-link.html
liuboaibc 8f466739bf update: fix bugs and update style
Signed-off-by: liuboaibc <kukudehero@gmail.com>
2020-09-23 16:01:28 +08:00

1 line
166 B
HTML

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