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

Change the og:image on /learn back to the default #19276

Merged
merged 1 commit into from
Nov 18, 2017

Conversation

joshlory
Copy link
Contributor

Default is default-og-image.png set here:

unless metadata['og:image']
if request.site != 'csedweek.org'
metadata['og:image'] = CDO.code_org_url('/images/default-og-image.png', 'https:')
metadata['og:image:width'] = 1220
metadata['og:image:height'] = 640
end
end

@joshlory joshlory merged commit ef502e4 into staging Nov 18, 2017
@joshlory joshlory deleted the change-learn-og-image-back-to-default branch November 18, 2017 23:36
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

2 participants