From f2e226324de2482d657e1b07b62cd405571c52bd Mon Sep 17 00:00:00 2001 From: Hoernschen Date: Fri, 1 Jul 2022 14:54:41 +0200 Subject: [PATCH] FIX twitter support --- layouts/posts/single.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 12f3ed9..7c5dae0 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,22 +1,29 @@ {{ define "opengraph" }} + {{ with .Site.LanguageCode }} {{ end }} + {{ if .Params.image }} + {{ else }} + {{ end }} {{ if .Params.summary }} + {{ else if .Content }} + {{ else }} + {{ end }} {{ with .Params.author }} @@ -28,7 +35,8 @@ {{ end }} {{ end }} - + + {{ end }} {{ define "main" }}