hermit-V2/layouts/partials/social-icons.html
Nicolas Guichard c6af673ff8 Add safeURL on social icons links
The social icon links are generated from developer-controlled config.toml file. They can be considered safe.
This enables using various URI schemes such as `tel:`, `sip:`, `geo:` or `whatever:`.
2019-10-27 13:14:30 +01:00

3 lines
154 B
HTML

{{ range . -}}
<a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ partial "svg.html" . }}</a>
{{- end -}}