Skip to content

Commit

Permalink
Revert "Merge branch 'switch_to_x' into ramiro"
Browse files Browse the repository at this point in the history
This reverts commit 282a441, reversing
changes made to bbd9d80.
  • Loading branch information
ramiro committed Apr 30, 2024
1 parent 282a441 commit fad1dfe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion assets/ananke/socials/twitter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions layouts/partials/func/socials/GetBuiltInServicesDefaults.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
color: '#3b5998'
twitter:
share: true
label: X
color: '#000000'
label: Twitter
color: '#1da1f2'
instagram:
label: Instagram
color: '#e1306c'
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/social-share.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{ $url := printf "%s" .Permalink | absLangURL }}

{{ $facebook_href := printf "https://www.facebook.com/sharer.php?u=%s" $url }}
{{ $twitter_href := printf "https://x.com/intent/tweet?url=%s&text=%s" $url $title }}
{{ $twitter_href := printf "https://twitter.com/intent/tweet?url=%s&text=%s" $url $title }}
{{ with site.Social.twitter }}
{{ $twitter_href = printf "%s&via=%s" $twitter_href . }}
{{ end }}
Expand Down

0 comments on commit fad1dfe

Please sign in to comment.