Aniket Teredesai 6e1b938d43 add hiddenPage param
with this param set to true, every effort is made to make the page 'undiscoverable'
2023-04-26 16:01:17 +05:30

2 lines
271 B
HTML

<a href="{{ .Destination | safeURL }}" {{ with .Title }}title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" | and (.Page.Params.hiddenPage | in (slice true "true")) }}target="_blank" rel="nofollow noopener noreferrer"{{ end }}>{{ .Text | safeHTML }}</a>