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

Allow social image tags to be overwritten #1756

Merged
merged 3 commits into from
Jul 18, 2017

Conversation

bertocq
Copy link
Collaborator

@bertocq bertocq commented Jul 17, 2017

Where

We had some problems setting a custom twitter & facebook image for the share cards on Madrid's fork https://github.com/AyuntamientoMadrid/consul/blob/stable/app/views/budgets/results/show.html.erb#L4-L11

What

  • It should be easy to overwrite the default image for both twitter and facebook share cards

How

  • With an optional partial argument

Screenshots

No need (to test, its needed a server that both facebook and twitter card debuggers can hit and scan) It was tested on Madrid's development servers for some minutes

https://developers.facebook.com/tools/debug/
https://cards-dev.twitter.com/validator

Test

No actual use on the consul codebase, this is just a small feature for the forks. Worth a feature spec for it?

Deployment

  • Remember to update Madrid's fork to make use of it.

Warnings

  • None

@voodoorai2000 voodoorai2000 added this to Doing in Roadmap Jul 18, 2017
@bertocq bertocq merged commit ada3d1a into master Jul 18, 2017
@bertocq bertocq deleted the feature/social_metatags_images branch July 18, 2017 11:37
@voodoorai2000 voodoorai2000 moved this from Doing to Done in Roadmap Jul 24, 2017
@voodoorai2000 voodoorai2000 moved this from Done to Next Release in Roadmap Aug 5, 2017
@voodoorai2000 voodoorai2000 moved this from Next Release to Archive in Roadmap Oct 2, 2017
@voodoorai2000 voodoorai2000 removed this from Archive in Roadmap Oct 6, 2017
javierm pushed a commit to javierm/consul that referenced this pull request Mar 6, 2019
…op_not_to

[Upstream] Add not_to Rubocop rule
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.

None yet

3 participants