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

update og tags with new image name and dimensions #26054

Merged
merged 2 commits into from
Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions pegasus/sites.v3/code.org/public/hourofcode/overview.haml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ social:
"twitter:url": "https://<%=request.host%>/hourofcode/overview"
"twitter:title": "<%= hoc_s(:hour_of_code) %>"
"twitter:description": "<%= hoc_s(:social_hoc2018_global_movement) %>"
"twitter:image:src": "<%= 'https://' + request.host + '/images/social-media/codeorg-2018-creativity.jpg' %>"
"twitter:image:src": "<%= 'https://' + request.host + '/images/social-media/code-2018-creativity.jpg' %>"
"og:title": "<%= hoc_s(:hour_of_code) %>"
"og:description": "<%= hoc_s(:social_hoc2018_global_movement) %>"
"og:image" : "<%= 'https://' + request.host + '/images/social-media/codeorg-2018-creativity.jpg' %>"
"og:image:width": '846'
"og:image:height": '529'
"og:image" : "<%= 'https://' + request.host + '/images/social-media/code-2018-creativity.jpg' %>"
"og:image:width": '1200'
"og:image:height": '630'
---
%link{href: "/css/student.css", rel: "stylesheet"}
%link{href: "/css/tools.css", rel: "stylesheet"}
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions pegasus/sites.v3/code.org/public/learn/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ social:
"twitter:url": "https://<%=request.host%>/learn"
"twitter:title": "<%= hoc_s(:hour_of_code) %>"
"twitter:description": "<%= hoc_s(:social_hoc2018_global_movement) %>"
"twitter:image:src": "<%= 'https://' + request.host + '/images/social-media/hourofcode-2018-creativity.jpg' %>"
"twitter:image:src": "<%= 'https://' + request.host + '/images/social-media/hoc-2018-creativity.jpg' %>"
"og:title": "<%= hoc_s(:hour_of_code) %>"
"og:description": "<%= hoc_s(:social_hoc2018_global_movement) %>"
"og:image" : "<%= 'https://' + request.host + '/images/social-media/hourofcode-2018-creativity.jpg' %>"
"og:image:width": '846'
"og:image:height": '529'
"og:image" : "<%= 'https://' + request.host + '/images/social-media/hoc-2018-creativity.jpg' %>"
"og:image:width": '1200'
"og:image:height": '630'
style_min: false
---
%script{src: "https://cdn.optimizely.com/js/400912536.js"}
Expand Down