From 35d93c54b6fe366b30f4f4330b15dd616aa316cf Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 16 Aug 2025 15:21:04 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20nested=20block=20template?= =?UTF-8?q?=20syntax=20error?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Issue:** TemplateSyntaxError - 'block' tag with name 'title' appears more than once **Root Cause:** Nested block tags with same name (title) not allowed in Django templates **Fix:** - Removed nested {% block title %} and {% block meta_description %} references - Used separate block names for og_title, og_description, twitter_title, twitter_description - Maintained same functionality without nesting conflicts **Result:** Template renders without syntax errors while preserving social media meta tag structure 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- templates/base.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/base.html b/templates/base.html index 53ddca6..f0992da 100644 --- a/templates/base.html +++ b/templates/base.html @@ -12,8 +12,8 @@ - - + + @@ -21,9 +21,9 @@ - - - + + +