Skip to content
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

Make Twitter cards optional via config #44

Closed
ahoog42 opened this issue Feb 15, 2024 · 1 comment
Closed

Make Twitter cards optional via config #44

ahoog42 opened this issue Feb 15, 2024 · 1 comment
Assignees

Comments

@ahoog42
Copy link

ahoog42 commented Feb 15, 2024

I've stop supporting Twitter/X but the Twitter card metadata is hardcoded into the theme (website). Would it be possible to make this optional via the config?

thetwopct added a commit that referenced this issue May 21, 2024
Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>

Signed-off-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
@thetwopct thetwopct mentioned this issue May 21, 2024
@thetwopct thetwopct self-assigned this May 22, 2024
@thetwopct
Copy link
Collaborator

Not an option, but the twitter card has now been added a partial. So if users want to remove the Twitter cards specifically, they can add an empty file here layouts/partials/head/twitter-cards.html and the content will then not be loaded.

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

No branches or pull requests

2 participants