add twitter_handle to episode template

This commit is contained in:
Trent Palmer 2021-03-28 16:06:42 -07:00
parent 206886f5d6
commit 4fc914a470
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,7 @@
{% block morehead %}
{% if is_episode %}
<meta property="twitter:card" content="summary" />
<meta property="twitter:creator" content="@BoringTrent" />
<meta property="twitter:creator" content="{{ user.account.twitter_handle }}" />
<meta property="twitter:image" content="{{ IMAGES_URL }}{{ twitter_image }}" />
<meta property="og:title" content="{{ ogtitle }}" />
<meta property="og:url" content="{{ ogurl }}" />

View File

@ -4,5 +4,4 @@
* check accessibility
* setup backup for apache and systemd configs
* extend feed and episode models to support non-audiobook podcasts
* add twitter handle to accounts model (for og twitter card metadata in templates)
* add master (and per-contributor) rss feeds