aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/_markup/render-link.html
blob: 0db1d0d3a649d7af6550fd5a1206a65bb5e6737a8fe2e52d5447f84aba128b45 (plain)
1
2
{{ $emoji := cond (and (not (.Page.Params.makerefs | default true)) (.Page.Params.showlinkemoji | default true)) (emojify ":link: ") "" -}}
<a class="link" href="{{ .Destination | safeURL }}" rel="noreferrer">{{ $emoji }}{{ .Text | safeHTML }}</a>