From 14d566aa5ea44dbffda2540f0e44b34dedfc79bb Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 4 Oct 2023 15:27:23 -0300 Subject: content: generateArtTagInfoPage (stub, mostly) --- src/page/art-tag.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'src/page/art-tag.js') diff --git a/src/page/art-tag.js b/src/page/art-tag.js index 32e869e1..5b61229d 100644 --- a/src/page/art-tag.js +++ b/src/page/art-tag.js @@ -1,6 +1,6 @@ // Art tag page specification. -export const description = `per-art-tag gallery pages`; +export const description = `per-art-tag info & gallery pages`; export function condition({wikiData}) { return wikiData.wikiInfo.enableArtTagUI; @@ -12,6 +12,16 @@ export function targets({wikiData}) { export function pathsForTarget(tag) { return [ + { + type: 'page', + path: ['artTagInfo', tag.directory], + + contentFunction: { + name: 'generateArtTagInfoPage', + args: [tag], + }, + }, + { type: 'page', path: ['artTagGallery', tag.directory], -- cgit 1.3.0-6-gf8a5