aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-link.html
blob: 4d300ab59f9426e083ae5566edf8281291583c04b9d8dffdf64820626b1cc491 (plain)
1
2
{{ $emoji := cond (.Page.Params.nolinkemoji | default false) "" (emojify ":link: ") -}}
<a href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>