feat: give project and show archives their own templates
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
3 files changed
+23
-1
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user