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" }}