diff --git a/layouts/partials/external/twitter_cards.html b/layouts/partials/external/twitter_cards.html index a1159f1..d20b091 100644 --- a/layouts/partials/external/twitter_cards.html +++ b/layouts/partials/external/twitter_cards.html @@ -1,31 +1,31 @@ {{- with $.Params.images -}} - - + + {{ else -}} {{- $images := $.Resources.ByType "image" -}} {{- $featured := $images.GetMatch "*feature*" -}} {{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}} {{- with $featured -}} - - + + {{- else -}} {{- with $.Site.Params.images -}} - - + + {{ else -}} - - + + {{- end -}} {{- end -}} {{- end }} - - + + {{ with .Site.Social.twitter -}} - + {{ end -}} {{ range .Site.Authors }} {{ with .twitter -}} - + {{ end -}} {{ end -}} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5438c10..4a1df43 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,7 +1,7 @@
- +