Call correct method to trigger asset publication #15

Merged
ral merged 1 commit from fixfix into master 2024-06-16 18:35:18 +02:00
Showing only changes of commit 4bef75a8fc - Show all commits

View file

@ -20,7 +20,7 @@
{{ else }} {{ else }}
{{ $logo = resources.Get "images/ogp/cosin_icon_generic.png" }} {{ $logo = resources.Get "images/ogp/cosin_icon_generic.png" }}
{{ end }} {{ end }}
<meta property="og:image" content="{{ $logo | absURL }}"/> <meta property="og:image" content="{{ $logo.Permalink }}"/>
<meta property="og:image:type" content="{{ $logo.MediaType }}"/> <meta property="og:image:type" content="{{ $logo.MediaType }}"/>
<meta property="og:image:width" content="{{ $logo.Width }}"/> <meta property="og:image:width" content="{{ $logo.Width }}"/>
<meta property="og:image:height" content="{{ $logo.Height }}"/> <meta property="og:image:height" content="{{ $logo.Height }}"/>