Skip to content

Commit

Permalink
Merge pull request #26054 from code-dot-org/og-tweaks-2
Browse files Browse the repository at this point in the history
update og tags with new image name and dimensions
  • Loading branch information
tanyaparker committed Nov 14, 2018
2 parents 3781f85 + 6600c66 commit 9b3a85d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
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

0 comments on commit 9b3a85d

Please sign in to comment.