From 263e2b0919c664492e60fb9a3c9958e33fbb5be8 Mon Sep 17 00:00:00 2001 From: Do Anh Duy Date: Fri, 22 May 2026 12:18:34 +0700 Subject: [PATCH] fix(template): unescape main.html override so docs site builds The site-docs overrides/main.html was wrapped in `{{ '...' }}`, which Copier copies verbatim (the file has no .jinja suffix), so generated projects ended up with a literal `{{ '{% extends "base.html" %}' }}` line and zensical failed to render. Drop the wrapper so the file contains a real `{% extends "base.html" %}` directive that mkdocs/zensical can consume. --- .../overrides/main.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/template/{% if enable_docs_site %}site-docs{% endif%}/overrides/main.html b/template/{% if enable_docs_site %}site-docs{% endif%}/overrides/main.html index 03572ae..94d9808 100644 --- a/template/{% if enable_docs_site %}site-docs{% endif%}/overrides/main.html +++ b/template/{% if enable_docs_site %}site-docs{% endif%}/overrides/main.html @@ -1 +1 @@ -{{ '{% extends "base.html" %}' }} +{% extends "base.html" %}