Skip to content

Added support for X in social-urls #512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2025
Merged

Added support for X in social-urls #512

merged 1 commit into from
Apr 28, 2025

Conversation

ronaldlangeveld
Copy link
Member

ref https://linear.app/ghost/issue/PLG-415/support-using-x-in-place-of-twitter

  • Added X as an alias so that it can be used without breaking compatibility with Twitter

ref https://linear.app/ghost/issue/PLG-415/support-using-x-in-place-of-twitter

- Added X as an alias so that it can be used without breaking
  compatibility with Twitter
ronaldlangeveld added a commit to TryGhost/Ghost that referenced this pull request Apr 21, 2025
ref https://linear.app/ghost/issue/PLG-415/support-using-x-in-place-of-twitter

- Using the serliaizer, I mapped an X property to have the same value as
  twitter in order to expose it so that it can be used as a condition
(if statement) inside templates using handlebars, eg `{{#if x}}`.
- This change is reliant on TryGhost/SDK#512
@ronaldlangeveld ronaldlangeveld merged commit 2d09a1c into main Apr 28, 2025
3 checks passed
@ronaldlangeveld ronaldlangeveld deleted the support-x branch April 28, 2025 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant