From 7f7d21384e20dbc807d2f5faecaadd397c45de26 Mon Sep 17 00:00:00 2001 From: Matthias Portzel Date: Sun, 8 May 2022 10:13:03 -0400 Subject: [PATCH] Add media alt button for video --- thoughts/templates/thoughts/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/thoughts/templates/thoughts/index.html b/thoughts/templates/thoughts/index.html index 277de9b..05953ec 100644 --- a/thoughts/templates/thoughts/index.html +++ b/thoughts/templates/thoughts/index.html @@ -56,6 +56,11 @@ {% endif %} {% elif file_type == "mov" or file_type == "mp4" %} + {% if thought.media_alt %} + +
Description
+
{{ thought.media_alt|urlize }}
+ {% endif %} {% endif %} {% endif %}