Update and rename render-link.html to render-link.html.example
This commit is contained in:
parent
cff71bf5f5
commit
d1cecf061c
1 changed files with 1 additions and 1 deletions
1
layouts/_default/_markup/render-link.html.example
Normal file
1
layouts/_default/_markup/render-link.html.example
Normal file
|
|
@ -0,0 +1 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
Loading…
Reference in a new issue