From 1cf5f14e55be603228e710a24927850e8a4dd28c Mon Sep 17 00:00:00 2001 From: Trent Palmer Date: Thu, 25 Mar 2021 14:57:41 -0700 Subject: [PATCH] add twitter_image metadata --- audio/templates/audio/index.html | 1 + audio/views.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/audio/templates/audio/index.html b/audio/templates/audio/index.html index 1a67b73..cdbb1fd 100644 --- a/audio/templates/audio/index.html +++ b/audio/templates/audio/index.html @@ -3,6 +3,7 @@ {% if is_episode %} + diff --git a/audio/views.py b/audio/views.py index f609d8c..a6e1f33 100644 --- a/audio/views.py +++ b/audio/views.py @@ -35,7 +35,8 @@ def episode(request, pk, slug): { 'episodes': (episode, ), 'IMAGES_URL': IMAGES_URL, 'is_episode': True, 'MP3_URL': MP3_URL, 'title': episode.title, 'heading': episode.title, - 'ogtitle': episode.title, 'ogurl': og_url, 'ogmp3': episode.mp3, 'feed': episode.feed + 'ogtitle': episode.title, 'ogurl': og_url, 'ogmp3': episode.mp3, + 'feed': episode.feed, 'twitter_image': episode.image, })