Skip to content

Commit

Permalink
Better og:image
Browse files Browse the repository at this point in the history
  • Loading branch information
Gsvd committed Feb 2, 2025
1 parent 8ac6596 commit 49ab336
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions internal/templates/layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="600">

<!-- Twitter Square Image (1200x675) -->
<meta property="og:image" content="https://www.gsvd.dev/images/articles/{{.Article.Metadata.Id}}/{{.Article.Metadata.Id}}-1200x675.jpg">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="675">

<!-- Instagram (1080x1080) -->
<meta property="og:image" content="https://www.gsvd.dev/images/articles/{{.Article.Metadata.Id}}/{{.Article.Metadata.Id}}-1080x1080.jpg">
<meta property="og:image:width" content="1080">
Expand Down
Binary file modified public/images/articles/0/0-1080x1080.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/0/0-1200x600.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/0/0-1200x630.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/articles/0/0-1200x675.jpg
Binary file not shown.
Binary file modified public/images/articles/0/0-800x420.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/1/1-1080x1080.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/1/1-1200x600.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/1/1-1200x630.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/articles/1/1-1200x675.jpg
Binary file not shown.
Binary file modified public/images/articles/1/1-800x420.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/2/2-1080x1080.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/2/2-1200x600.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/images/articles/2/2-1200x630.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/images/articles/2/2-1200x675.jpg
Binary file not shown.
Binary file modified public/images/articles/2/2-800x420.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 49ab336

Please sign in to comment.