diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 4b874c1..499354a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,10 +7,31 @@ + {{ if .Title }}{{ .Title }}{{ else }}{{ .Site.Title }}{{ end }} + {{ block "opengraph" . }} + + {{ with .Site.LanguageCode }} + + {{ end }} + + + + {{ if .Params.image }} + + {{ else }} + + {{ end }} + {{ if .Params.summary }} + + {{ else if .Content }} + + {{ else }} + + {{ end }} + {{ end }} {{- $favIcon := .Site.Params.favIcon }} - {{ block "title" . }}{{ .Site.Title }}{{ end }} {{ $template := resources.Get "scss/index.scss" }} {{ if $template }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 4a0dcab..8438d04 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,5 +1,4 @@ {{- $header := .Site.Params.header }} -{{- $logo := index $header "logo" }} {{- $links := index $header "links" }} {{ $template := resources.Get "scss/header.scss" }} {{ if $template }} @@ -14,7 +13,7 @@