diff --git a/config.toml b/config.toml index 523b4d8..95b425f 100644 --- a/config.toml +++ b/config.toml @@ -4,5 +4,5 @@ languageCode = "fr-fr" title = "onestla.tech" theme = "beautifulhugo" -[Params] - share_img = "header.jpg" +[[Params]] + image = "header.jpg" diff --git a/themes/beautifulhugo/layouts/partials/seo/twitter.html b/themes/beautifulhugo/layouts/partials/seo/twitter.html index 0eb1e9b..97a48dc 100644 --- a/themes/beautifulhugo/layouts/partials/seo/twitter.html +++ b/themes/beautifulhugo/layouts/partials/seo/twitter.html @@ -4,6 +4,7 @@ {{- with .Description | default .Params.subtitle | default .Summary }} {{- end }} + {{- with .Params.share_img | default .Params.image | default .Site.Params.logo }} {{- end }}