This repository has been archived on 2024-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
waifulog_old/themes/hugo-theme-stack/layouts/_default/_markup/render-link.html

3 lines
No EOL
216 B
HTML

<a class="link" href="{{ .Destination | safeURL }}" {{ with .Title}} title="{{ . }}"
{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"
{{ end }}>{{ .Text | safeHTML }}</a>