Skip to content

Commit

Permalink
Merge pull request #31 from fransimo/main
Browse files Browse the repository at this point in the history
| safeURL in .Site.Params.social
  • Loading branch information
austingebauer authored Jan 3, 2024
2 parents 9d1d1db + b39d084 commit fe2d756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2 class="m-0 mb-2 mt-4">
<ul id="nav-social" class="list-inline">
{{ range .Site.Params.social }}
<li class="list-inline-item mr-3">
<a href="{{ .href }}" target="_blank">
<a href="{{ .href | safeURL }}" target="_blank">
<i class="{{ .fa_icon }} text-muted"></i>
</a>
</li>
Expand Down

0 comments on commit fe2d756

Please sign in to comment.