mirror of
https://github.com/andrewgioia/blog.git
synced 2024-12-23 10:39:55 +00:00
4 lines
206 B
HTML
4 lines
206 B
HTML
|
<a href="{{ .Destination | safeURL }}"
|
||
|
{{ with .Title}} title="{{ . }}"{{ end }}
|
||
|
{{ if strings.HasPrefix .Destination "http" }}
|
||
|
target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML } </a>
|