Skip to content

Commit

Permalink
Fix: Social images for shader pages should now work
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-carroll committed Aug 5, 2024
1 parent 8d160ed commit 03e9ae2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ dependencies:
git:
url: https://github.com/Flutter-Bounty-Hunters/static_shock/
path: packages/static_shock
ref: 145_add-tailwind-css-support
ref: main

dev_dependencies:
lints: ^2.0.0
Expand Down
4 changes: 2 additions & 2 deletions source/_includes/layouts/shader_page.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<meta property="og:url" content="{{ homepage_url }}" />
<meta property="og:title" content="{{ shader.title }} | Flutter Shaders" />
<meta property="og:description" content="{{ description }}" />
<meta property="og:image" content="{{ homepage_url }}/images/social.png" />
<meta property="og:image" content="{{ homepage_url }}{{ shader.screenshot | pathRelativeToPage }}" />
<meta property="og:type" content="website" />

<!-- Twitter -->
Expand All @@ -31,7 +31,7 @@
<meta name="twitter:url" content="{{ homepage_url }}" />
<meta name="twitter:title" content="{{ shader.title }} | Flutter Shaders" />
<meta name="twitter:description" content="{{ description }}" />
<meta name="twitter:image" content="{{ homepage_url }}/images/social.png" />
<meta name="twitter:image" content="{{ homepage_url }}{{ shader.screenshot | pathRelativeToPage }}" />

<link href="/styles/tailwind.css" rel="stylesheet">

Expand Down

0 comments on commit 03e9ae2

Please sign in to comment.