mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 16:15:12 +00:00
about widget: Allow any URI scheme for social links (#64)
E.g. URLs beginning with `bitcoin:` or `tel:` can now be used.
This commit is contained in:
1 parent
8277658b81
commit
d4fb286cfd
1 file changed
+1
-1
@@ -22,7 +22,7 @@
|
||||
{{ range $.Site.Params.social }}
|
||||
{{ $pack := or .icon_pack "fa" }}
|
||||
<li>
|
||||
<a href="{{ .link }}">
|
||||
<a href="{{ .link | safeURL }}">
|
||||
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in new issue
Block a user