Skip to content

Commit fe2d756

Browse files
Merge pull request #31 from fransimo/main
| safeURL in .Site.Params.social
2 parents 9d1d1db + b39d084 commit fe2d756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/header.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h2 class="m-0 mb-2 mt-4">
4747
<ul id="nav-social" class="list-inline">
4848
{{ range .Site.Params.social }}
4949
<li class="list-inline-item mr-3">
50-
<a href="{{ .href }}" target="_blank">
50+
<a href="{{ .href | safeURL }}" target="_blank">
5151
<i class="{{ .fa_icon }} text-muted"></i>
5252
</a>
5353
</li>

0 commit comments

Comments
 (0)