fix: update Twitter and Open Graph image

Changed the image from PNG to JPG in Twitter and Open Graph meta tags.
This commit is contained in:
Kumi 2024-08-06 12:06:30 +02:00
parent a24ac412e2
commit 4e42eff681
No known key found for this signature in database
GPG key ID: ECBCC9082395383F

View file

@ -20,11 +20,11 @@
<meta name="twitter:card" content="summary_large_image" /> <meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ .Title }}" /> <meta name="twitter:title" content="{{ .Title }}" />
<meta name="twitter:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" /> <meta name="twitter:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.jpg{{ end }}" />
<meta name="twitter:description" content="{{ .Site.Params.Description }}" /> <meta name="twitter:description" content="{{ .Site.Params.Description }}" />
<meta property="og:site_name" content="{{ .Site.Title }}" /> <meta property="og:site_name" content="{{ .Site.Title }}" />
<meta property="og:title" content="{{ .Title }}" /> <meta property="og:title" content="{{ .Title }}" />
<meta property="og:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" /> <meta property="og:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.jpg{{ end }}" />
<meta property="og:description" content="{{ .Site.Params.Description }}" /> <meta property="og:description" content="{{ .Site.Params.Description }}" />
{{ with .OutputFormats.Get "rss" -}} {{ with .OutputFormats.Get "rss" -}}