diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b84a8d8f2..6b74884e6 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,6 +12,7 @@ PaginatePath = "blog" buildDrafts = false # Language support defaultContentLanguage = "en" +weburl = "https://dev.devopsdays.org" [languages.en] weight = 0 diff --git a/layouts/partials/head/seo/open_graph.html b/layouts/partials/head/seo/open_graph.html index 101129a1b..ac78c2d6c 100644 --- a/layouts/partials/head/seo/open_graph.html +++ b/layouts/partials/head/seo/open_graph.html @@ -2,10 +2,14 @@ - -{{- with .Params.images -}}{{- range first 1 . -}} - -{{- end -}}{{- end -}} + +{{ if .IsHome }} + +{{ else }} + {{- with .Params.images -}}{{- range first 1 . -}} + + {{- end -}}{{- end -}} +{{- end -}} @@ -30,6 +34,3 @@ {{- with .Params.tags -}}{{- range first 6 . -}} {{- end -}}{{- end -}} - - -{{- with .Site.Params.social.facebook_admin -}}{{- end -}}