fix: escape Nunjucks tags in architecture.html to prevent parse errors

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
svemagie
2026-03-07 17:27:39 +01:00
parent 57fdcf26ad
commit d2efa1c1d1
2 changed files with 2 additions and 2 deletions

View File

@@ -1104,7 +1104,7 @@ function renderDeployment(page) {
var convItems = [
['Dates', 'Always ISO 8601 strings via new Date().toISOString(). Never store Date objects \u2014 the Nunjucks | date filter crashes on them.'],
['Modules', 'ESM everywhere. All plugins use "type": "module" in package.json.'],
['Templates', 'Always guard date filters with {% if value %} to protect against null/undefined.'],
['Templates', 'Always guard date filters with {% raw %}{% if value %}{% endraw %} to protect against null/undefined.'],
['Auth', 'IndieAuth for admin routes, JWT for background processes, HTTP Signatures for ActivityPub.'],
['Storage', 'MongoDB for state and metadata. Filesystem for content (.md files). Two sources of truth by design.'],
['Publishing', 'Bump version \u2192 commit \u2192 npm publish (manual, OTP required) \u2192 update Dockerfile \u2192 cloudron build.'],

View File

@@ -1104,7 +1104,7 @@ function renderDeployment(page) {
var convItems = [
['Dates', 'Always ISO 8601 strings via new Date().toISOString(). Never store Date objects \u2014 the Nunjucks | date filter crashes on them.'],
['Modules', 'ESM everywhere. All plugins use "type": "module" in package.json.'],
['Templates', 'Always guard date filters with {% if value %} to protect against null/undefined.'],
['Templates', 'Always guard date filters with {% raw %}{% if value %}{% endraw %} to protect against null/undefined.'],
['Auth', 'IndieAuth for admin routes, JWT for background processes, HTTP Signatures for ActivityPub.'],
['Storage', 'MongoDB for state and metadata. Filesystem for content (.md files). Two sources of truth by design.'],
['Publishing', 'Bump version \u2192 commit \u2192 npm publish (manual, OTP required) \u2192 update Dockerfile \u2192 cloudron build.'],