Skip to content

Commit

Permalink
feat(icon): Change Twitter icon to X
Browse files Browse the repository at this point in the history
Signed-off-by: Khusika Dhamar Gusti <[email protected]>
  • Loading branch information
khusika committed Sep 12, 2023
1 parent b6c3e9f commit a76fbf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/data/social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ twitter:
Prefix: https://twitter.com/
Title: Twitter
Icon:
Class: fa-brands fa-twitter fa-fw
Class: fa-brands fa-square-x-twitter fa-fw

# 004: Instagram
instagram:
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/plugin/share.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{{- /* 001: Twitter */ -}}
{{- if $share.Twitter -}}
<a href="#" onclick="return false;" title="{{ T `shareOn` }} Twitter" data-sharer="twitter" data-url="{{ .Permalink }}" data-title="{{ .Title }}"{{ with .Site.Params.Social.Twitter }} data-via="{{ . }}"{{ end }}{{ with .Params.tags }} data-hashtags="{{ delimit . `,` }}"{{ end }}>
{{- dict "Class" "fa-brands fa-twitter fa-fw" | partial "plugin/icon.html" -}}
{{- dict "Class" "fa-brands fa-square-x-twitter fa-fw" | partial "plugin/icon.html" -}}
</a>
{{- end -}}

Expand Down

0 comments on commit a76fbf7

Please sign in to comment.