From 7a3d0b65ee688817f7d9e5e069f1755b93a2a3d9 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 16 Jul 2025 23:11:13 +0530 Subject: [PATCH] Hide footer on agent pages only - Add conditional logic to show footer on all pages except agent pages - Use request.path check to detect '/agents/' URLs - Footer still appears on home, marketplace, pricing, and other pages - Only hidden on individual agent detail pages Benefits: - Cleaner agent page experience - Footer remains for marketing/info pages - Simple URL-based detection --- templates/base.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/base.html b/templates/base.html index 02395b3..791823b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -52,7 +52,8 @@ {% block content %}{% endblock %} - + + {% if not request.resolver_match.url_name == 'agent_detail' and '/agents/' not in request.path %} + {% endif %}