mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02: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:
parent
8277658b81
commit
d4fb286cfd
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
{{ range $.Site.Params.social }}
|
{{ range $.Site.Params.social }}
|
||||||
{{ $pack := or .icon_pack "fa" }}
|
{{ $pack := or .icon_pack "fa" }}
|
||||||
<li>
|
<li>
|
||||||
<a href="{{ .link }}">
|
<a href="{{ .link | safeURL }}">
|
||||||
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
|
<i class="{{ $pack }} {{ $pack }}-{{ .icon }} big-icon"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue