mirror of
https://github.com/andrewgioia/blog.git
synced 2024-12-22 18:39:55 +00:00
Fixes link rendered template
This commit is contained in:
parent
8333b7f311
commit
98f240fe4d
@ -1,4 +1,4 @@
|
||||
<a href="{{ .Destination | safeURL }}"
|
||||
{{ with .Title}} title="{{ . }}"{{ end }}
|
||||
{{ if strings.HasPrefix .Destination "http" }}
|
||||
target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML } </a>
|
||||
target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }} </a>
|
Loading…
Reference in New Issue
Block a user