chore: fix default template directory paths and add missing legal/feature templates

- Update `generate_legal_documents` default `template_dir` from `"templates/legal"` to `"mywebdav/templates/legal"`
- Update `Jinja2Templates` directory from `"templates"` to `"mywebdav/templates"`
- Add new `base.html` template with navigation, footer, and SEO meta tags
- Add new `features.html` template with responsive grid layout and feature cards
- Add new legal document templates: `compliance_statement.html`, `contact_complaint_mechanism.html`, `cookie_policy.html`, `data_portability_deletion_policy.html`
This commit is contained in:
2025-11-16 00:54:58 +00:00
parent 0564809132
commit 46e1b8c9eb
16 changed files with 2945 additions and 2 deletions
+1 -1
View File
@@ -941,7 +941,7 @@ def get_all_legal_documents() -> Dict[str, LegalDocument]:
}
def generate_legal_documents(template_dir: str = "templates/legal"):
def generate_legal_documents(template_dir: str = "mywebdav/templates/legal"):
"""Generate all legal documents as Jinja2 templates."""
import os