Compare commits

..

No commits in common. "main" and "target_blank" have entirely different histories.

2 changed files with 4 additions and 10 deletions

View file

@ -10,11 +10,7 @@
<h2><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h2>
<time class="by-line">{{ .Date.Format .Site.Params.dateFormat }}</time>
<a href="{{ .RelPermalink }}">
{{ $image := .Resources.Get "cover.png" }}
{{ $image := $image.Resize "650x" }}
{{ with $image }}
<img class="img-lead" src="{{ $image.RelPermalink }}" alt="Revuo Monero Weekly #{{ .Params.issuenumber }} cover">
{{ end }}
<img class="img-lead" src="{{ .RelPermalink }}cover.png" alt="Revuo Monero Weekly #{{ .Params.issuenumber }} cover">
</a>
{{ $sTitle := split .Params.title ":" }}

View file

@ -4,7 +4,7 @@
content="width=device-width, initial-scale=1.0, maximum-scale=1"
/>
<title>{{ .Title }}</title>
<meta name="description" content="{{ .Site.Params.Description }}" />
<meta name="description" content="{{ .Description }}" />
<meta name="keywords" content="{{ .Keywords }}" />
<link rel="icon" type="image/png" sizes="32x32" href="/img/revuo-icon_1.png" />
@ -20,12 +20,10 @@
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="{{ .Title }}" />
<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:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" />
<meta property="og:site_name" content="{{ .Site.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.jpg{{ end }}" />
<meta property="og:description" content="{{ .Site.Params.Description }}" />
<meta property="og:image" content="{{ if (eq .Section "weekly") }}{{ .Permalink }}/cover.png{{ else }}{{ .Site.BaseURL }}/img/revuo-monero.png{{ end }}" />
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }}