diff --git a/BLOG.md b/BLOG.md index 0eaa271..1b0abb4 100644 --- a/BLOG.md +++ b/BLOG.md @@ -29,3 +29,12 @@ parent level via: some lines ```` ``` + +If you want to check twitter cards, use the url: https://cards-dev.twitter.com/validator + +The following additional meta data maybe added: +twittertitle: Use this instead of title +image: URL of an image to show along with the post +imagealt: Alt text for the image + +[twitter card reference](https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/markup) diff --git a/layout/base.j2 b/layout/base.j2 index f612556..36461a5 100644 --- a/layout/base.j2 +++ b/layout/base.j2 @@ -33,6 +33,7 @@ {% endif %} {% if resource.meta.image %} {% endif %} +{% if site.context.tweet_via %} {% endif %} {% if resource.meta.imagealt %} {% endif %} {% if resource.meta.twitterlabel1 %} {% endif %} {% if resource.meta.twitterlabel2 %} {% endif %}