mirror of
https://github.com/rottenwheel/revuoxmrtheme.git
synced 2024-12-27 02:47:48 +00:00
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:
parent
a24ac412e2
commit
4e42eff681
1 changed files with 2 additions and 2 deletions
|
@ -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" -}}
|
||||||
|
|
Loading…
Reference in a new issue