« get me outta code hell

content: generateArtTagInfoPage (stub, mostly) - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/page
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2023-10-04 15:27:23 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-04 15:27:23 -0300
commit14d566aa5ea44dbffda2540f0e44b34dedfc79bb (patch)
tree25adf3275d871cc22f8e09874c873aad9e305b6a /src/page
parentf3d03c7b0314b8a05d4f75f71bc8236bdda7db9b (diff)
content: generateArtTagInfoPage (stub, mostly)
Diffstat (limited to 'src/page')
-rw-r--r--src/page/art-tag.js12
1 files changed, 11 insertions, 1 deletions
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;
@@ -14,6 +14,16 @@ export function pathsForTarget(tag) {
   return [
     {
       type: 'page',
+      path: ['artTagInfo', tag.directory],
+
+      contentFunction: {
+        name: 'generateArtTagInfoPage',
+        args: [tag],
+      },
+    },
+
+    {
+      type: 'page',
       path: ['artTagGallery', tag.directory],
 
       contentFunction: {