Rename render hooks so disabled also in Hugo v0.146.0 and later.
This commit is contained in:
parent
8b2a439df5
commit
6ef0b26e1c
1 changed files with 2 additions and 0 deletions
2
layouts/_markup/example-render-link.html
Normal file
2
layouts/_markup/example-render-link.html
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
{{- /* chomp trailing newline */ -}}
|
||||
Loading…
Reference in a new issue