website/layouts/_default/_markup/render-link.html
liuboaibc 3847ee20f5 fix header in mobile
Signed-off-by: liuboaibc <kukudehero@gmail.com>
2020-09-25 11:37:03 +08:00

1 line
192 B
HTML

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