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