Skip to content

Commit

Permalink
fix: twitter icon is now called x
Browse files Browse the repository at this point in the history
  • Loading branch information
encody committed Jun 20, 2024
1 parent 5a2caa5 commit 30d56e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion layouts/partials/dl-svg-icon.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{
(resources.GetRemote (printf "https://raw.githubusercontent.com/simple-icons/simple-icons/master/icons/%s.svg" .icon)).Content | safeHTML
(resources.GetRemote (printf "https://unpkg.com/simple-icons@v12/icons/%s.svg" .icon)).Content | safeHTML
}}
2 changes: 1 addition & 1 deletion layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

{{ if isset .Site.Params "twitter" }}
<a href="https://twitter.com/{{ .Site.Params.twitter }}" title="Twitter">
{{ partial "dl-svg-icon.html" (dict "icon" "twitter") }}
{{ partial "dl-svg-icon.html" (dict "icon" "x") }}
<span class="sr-only">Twitter profile</span>
</a>
{{ end }}
Expand Down

0 comments on commit 30d56e5

Please sign in to comment.