From 9860e697283e3a07d8125dce3baf5db9eac8b69c Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Sat, 15 Aug 2026 14:30:09 -0500 Subject: [PATCH] feat: give project and show archives their own templates Co-Authored-By: Claude Opus 5 (1M context) --- templates/taxonomy-chrnx_project.html | 12 ++++++++++++ templates/taxonomy-chrnx_show.html | 10 ++++++++++ tests/smoke/templates.test.mjs | 2 +- 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 templates/taxonomy-chrnx_project.html create mode 100644 templates/taxonomy-chrnx_show.html diff --git a/templates/taxonomy-chrnx_project.html b/templates/taxonomy-chrnx_project.html new file mode 100644 index 0000000..501f2e3 --- /dev/null +++ b/templates/taxonomy-chrnx_project.html @@ -0,0 +1,12 @@ + + + +
+ + + + +
+ + + diff --git a/templates/taxonomy-chrnx_show.html b/templates/taxonomy-chrnx_show.html new file mode 100644 index 0000000..6bb0181 --- /dev/null +++ b/templates/taxonomy-chrnx_show.html @@ -0,0 +1,10 @@ + + + +
+ + +
+ + + diff --git a/tests/smoke/templates.test.mjs b/tests/smoke/templates.test.mjs index f22053e..9475158 100644 --- a/tests/smoke/templates.test.mjs +++ b/tests/smoke/templates.test.mjs @@ -2,7 +2,7 @@ import assert from 'node:assert/strict'; import { readFile } from 'node:fs/promises'; import test from 'node:test'; -const templates = [ 'home', 'single', 'page', 'archive', 'search', '404' ]; +const templates = [ 'home', 'single', 'page', 'archive', 'search', '404', 'taxonomy-chrnx_project', 'taxonomy-chrnx_show', 'taxonomy-chrnx_release' ]; const readTemplate = (name) => readFile(new URL(`../../templates/${name}.html`, import.meta.url), 'utf8'); function assertBalancedBlockMarkup(markup, name) {