-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Use images for social meta tags #2197
Milestone
Comments
I'll handle this. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Background
Now when a user share a CONSUL's page by default shows a general image.
Share on Facebook
Share on Twitter
What
If the user has uploaded an image to their proposal or budget investment show this image when share on social networks instead of default image.
How
On proposals/show.html.erb:
twitter_image_url
andog_image_url
properties onrender "shared/social_media_meta_tags"
(only if proposal image is present)On investments/_investment_show.html.erb:
Adds
shared/social_media_meta_tags
partial (use proposal as reference)Adds
twitter_image_url
andog_image_url
properties onrender "shared/social_media_meta_tags"
(only if investment image is present)The text was updated successfully, but these errors were encountered: