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