« get me outta code hell

support art tag info pages; ensure "art tag" terminology everywhere - 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 13:16:50 -0300
committer(quasar) nebula <qznebula@protonmail.com>2023-10-04 13:26:18 -0300
commita1bfa1d0d68890ebd5811bd46455d10be4bbc17d (patch)
tree2ca419228f3d9e4d3494c84469c22f11d1f7c2ae /src/page
parentccfced9e328749059262b8b4bb2671b33cccd98d (diff)
support art tag info pages; ensure "art tag" terminology everywhere
Diffstat (limited to 'src/page')
-rw-r--r--src/page/art-tag.js (renamed from src/page/tag.js)4
-rw-r--r--src/page/index.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/page/tag.js b/src/page/art-tag.js
index 8942aea9..32e869e1 100644
--- a/src/page/tag.js
+++ b/src/page/art-tag.js
@@ -1,6 +1,6 @@
 // Art tag page specification.
 
-export const description = `per-artwork-tag gallery pages`;
+export const description = `per-art-tag gallery pages`;
 
 export function condition({wikiData}) {
   return wikiData.wikiInfo.enableArtTagUI;
@@ -14,7 +14,7 @@ export function pathsForTarget(tag) {
   return [
     {
       type: 'page',
-      path: ['tag', tag.directory],
+      path: ['artTagGallery', tag.directory],
 
       contentFunction: {
         name: 'generateArtTagGalleryPage',
diff --git a/src/page/index.js b/src/page/index.js
index 48e22d2e..557384a6 100644
--- a/src/page/index.js
+++ b/src/page/index.js
@@ -1,11 +1,11 @@
 export * as album from './album.js';
 export * as artist from './artist.js';
 export * as artistAlias from './artist-alias.js';
+export * as artTag from './art-tag.js';
 export * as flash from './flash.js';
 export * as group from './group.js';
 export * as homepage from './homepage.js';
 export * as listing from './listing.js';
 export * as news from './news.js';
 export * as static from './static.js';
-export * as tag from './tag.js';
 export * as track from './track.js';