From 39442c20c67411c952c9865ee183ecd41ad2e3fa Mon Sep 17 00:00:00 2001 From: Wei-Chung Liao Date: Wed, 30 Oct 2019 12:00:00 -0400 Subject: [PATCH] Make Twitter card without having Twitter account (#284) Merge pull request 284 --- lib/template.html | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/lib/template.html b/lib/template.html index 6422141..c483cc0 100755 --- a/lib/template.html +++ b/lib/template.html @@ -51,15 +51,19 @@ {% endif %} -{% if site.twitter %} - {% if seo_tag.image %} - - - {% else %} - - {% endif %} +{% if seo_tag.image %} + + +{% else %} + +{% endif %} + +{% if seo_tag.page_title %} +{% endif %} + +{% if site.twitter %} {% if seo_tag.author.twitter %}