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