From 6c6db0a27fdcf7611e60e3c0e5822679373cc520 Mon Sep 17 00:00:00 2001 From: Leonardo Faria Date: Sun, 3 May 2020 09:06:45 -0700 Subject: Update open graph images - WIP --- layouts/partials/head.html | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index e1241d1..0cfdca8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -18,24 +18,43 @@ - {{ with .Params.image }} - - - - - {{ else }} - {{ if .Site.Params.ogImage }} - - - - + {{ if .IsPage }} + + {{ if .Params.ogImage }} + + + + {{ else }} {{ end }} + + {{ else }} + + {{ with .Params.image }} + + + + + {{ else }} + {{ if .Site.Params.ogImage }} + + + + + {{ else }} + + + + + {{ end }} + {{ end }} + {{ end }} + {{ if .IsPage }} -- cgit v1.2.3