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:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user