This commit is contained in:
parent
663ddca7bc
commit
3730447e67
1 changed files with 3 additions and 0 deletions
3
layouts/_default/_markup/render-link.html
Normal file
3
layouts/_default/_markup/render-link.html
Normal file
|
@ -0,0 +1,3 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if or (strings.HasPrefix .Destination "http") (strings.HasPrefix .Destination "https") }} target="_blank"{{ end }} >{{ .Text | safeHTML }}</a>
|
||||
|
||||
<!-- https://digitaldrummerj.me/hugo-links-to-other-pages/ -->
|
Loading…
Reference in a new issue