From fc440eafa354322019c0139e4f028f2fd533b82e Mon Sep 17 00:00:00 2001 From: chelsea Date: Sun, 12 Oct 2025 13:28:41 -0500 Subject: [PATCH] Fix post detail page navigation issues - Change back to feed button from onclick to proper link to ensure it always works - Make platform badge clickable to external source when available (upper left clickable link) - This addresses the issue where posts had no upper left clickable link and back button didn't work --- templates/post_detail.html | 101 ++++++++++++++++++------------------- 1 file changed, 49 insertions(+), 52 deletions(-) diff --git a/templates/post_detail.html b/templates/post_detail.html index 6b87b12..3e0ee44 100644 --- a/templates/post_detail.html +++ b/templates/post_detail.html @@ -3,67 +3,27 @@ {% block title %}{{ post.title }} - {{ APP_NAME }}{% endblock %} {% block content %} - - +{% include '_nav.html' %}
- + ← Back to Feed
+ {% if post.url and not post.url.startswith('/') %} + + {{ post.platform.title()[:1] }} + + {% else %}
{{ post.platform.title()[:1] }}
+ {% endif %}