diff --git a/templates/image.html b/templates/image.html index 7846217..43329c4 100644 --- a/templates/image.html +++ b/templates/image.html @@ -14,22 +14,17 @@ {{ pfp }} - URL of the posters PFP --> {% block head %} - - - + + + - - - - - + + + + + - - - - -{% endblock %} + -{% block body %} -Redirecting you to the tweet in a moment. Or click here. -{% endblock %} + + {% endblock %} {% block body %} Redirecting you to the tweet in a moment. Or click here. {% endblock %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 348f208..9630f82 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,37 +1,30 @@ -{% extends 'base.html' %} +{% extends 'base.html' %} {% block head %} + + + -{% block head %} - - - - - - - - - - - - + + + + - - - - - - - - - - - - - -{% endblock %} + + + + + + + + + -{% block body %} -Redirecting you to the tweet in a moment. Or click here. -{% endblock %} + + + {% endblock %} {% block body %} Redirecting you to the tweet in a moment. Or click here. {% endblock %} \ No newline at end of file diff --git a/templates/text.html b/templates/text.html index 95ea95d..7ba9511 100644 --- a/templates/text.html +++ b/templates/text.html @@ -18,22 +18,17 @@ {{ time }} - Time Created --> {% block head %} - - - - + + + + - - - - + + + + - - - - -{% endblock %} + -{% block body %} -Redirecting you to the tweet in a moment. Or click here. -{% endblock %} + + {% endblock %} {% block body %} Redirecting you to the tweet in a moment. Or click here. {% endblock %} \ No newline at end of file diff --git a/templates/video.html b/templates/video.html index f2c81a7..b99e0f3 100644 --- a/templates/video.html +++ b/templates/video.html @@ -1,31 +1,24 @@ -{% extends 'base.html' %} +{% extends 'base.html' %} {% block head %} + + + -{% block head %} - - - + + + + + + + - - - - - - - - - - - - - - - - + + + + + + + + - - -{% endblock %} - -{% block body %} -Redirecting you to the tweet in a moment. Or click here. -{% endblock %} + + {% endblock %} {% block body %} Redirecting you to the tweet in a moment. Or click here. {% endblock %} \ No newline at end of file diff --git a/twitfix.py b/twitfix.py index 9d273d0..a104f3e 100644 --- a/twitfix.py +++ b/twitfix.py @@ -465,7 +465,8 @@ def embed(video_link, vnf, image): url = config['config']['url'], urlDesc = urlDesc, urlUser = urlUser, - urlLink = urlLink ) + urlLink = urlLink, + tweetLink = vnf['tweet'] ) def tweetType(tweet): # Are we dealing with a Video, Image, or Text tweet? if 'extended_entities' in tweet: