From 0133bd103bb6aad38f803cf1bbfc66810b691ff4 Mon Sep 17 00:00:00 2001 From: uPagge Date: Fri, 12 Mar 2021 02:43:17 +0300 Subject: twitter creator card --- layouts/_default/baseof.html | 5 ++++- layouts/posts/single.html | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 158d790..9671721 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -12,7 +12,10 @@ {{- block "twitter-card" . }} {{- with .Site.Params.Seo.Images -}} - + + {{- end -}} + {{- with .Site.Params.Social.Twitter -}} + {{- end -}} diff --git a/layouts/posts/single.html b/layouts/posts/single.html index 62c9455..7db846b 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -28,6 +28,9 @@ +{{- with ($params.twitter | default .Site.Params.Social.Twitter ) -}} + +{{- end -}} {{- end -}} {{- define "no-content" -}} -- cgit v1.2.3