Make sure preview image and colors are correct.

This commit is contained in:
Seraphim R. Pardee 2021-08-13 19:58:31 -04:00
parent b4bb6b530d
commit dbfeca37aa

View File

@ -28,8 +28,8 @@
<link rel="mask-icon" href="{{ "img/safari-pinned-tab.svg" | absURL }}" color="#5bbad5"> <link rel="mask-icon" href="{{ "img/safari-pinned-tab.svg" | absURL }}" color="#5bbad5">
<meta name="apple-mobile-web-app-title" content="Seraphim R.P."> <meta name="apple-mobile-web-app-title" content="Seraphim R.P.">
<meta name="application-name" content="Seraphim R.P."> <meta name="application-name" content="Seraphim R.P.">
<meta name="msapplication-TileColor" content="#2b5797"> <meta name="msapplication-TileColor" content="#8fbcbb">
<meta name="theme-color" content="#ffffff"> <meta name="theme-color" content="#8fbcbb">
<!-- Twitter Card --> <!-- Twitter Card -->
<meta name="twitter:card" content="summary" /> <meta name="twitter:card" content="summary" />
@ -50,10 +50,10 @@
{{ if and (not .IsHome) (isset .Params "cover") }} {{ if and (not .IsHome) (isset .Params "cover") }}
<meta property="og:image" content="{{ .Param "cover" | absURL }}"> <meta property="og:image" content="{{ .Param "cover" | absURL }}">
{{ else }} {{ else }}
<meta property="og:image" content="{{ printf "img/favicon-32x32.png" | absURL }}"> <meta property="og:image" content="{{ printf "img/android-chrome-384x384.png" | absURL }}">
{{ end }} {{ end }}
<meta property="og:image:width" content="2048"> <meta property="og:image:width" content="384">
<meta property="og:image:height" content="1024"> <meta property="og:image:height" content="384">
{{ range .Params.categories }} {{ range .Params.categories }}
<meta property="article:section" content="{{ . }}" /> <meta property="article:section" content="{{ . }}" />
{{ end }} {{ end }}