From 4575f04ec008b31b5a0c1a43c97ceafb48a728a4 Mon Sep 17 00:00:00 2001 From: Vyshnav2255 Date: Wed, 31 Mar 2021 11:06:27 +0530 Subject: [PATCH 1/4] Support embedded photos and video for Tweet --- _includes/twitter-card.html | 8 +++++++ _posts/2020-07-16-twitter-embeds.md | 35 ++++++++++++++++++++++++++++ images/pinebook/card.jpg | Bin 0 -> 221092 bytes images/pinebook/mov_bbb.mp4 | Bin 0 -> 788493 bytes 4 files changed, 43 insertions(+) create mode 100644 images/pinebook/card.jpg create mode 100644 images/pinebook/mov_bbb.mp4 diff --git a/_includes/twitter-card.html b/_includes/twitter-card.html index 0445040..e7b1df1 100644 --- a/_includes/twitter-card.html +++ b/_includes/twitter-card.html @@ -15,6 +15,14 @@

{{ include.contents }}

+ {% if include.image %} + + {% else.if include.video %} + + {% endif %} +