« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/content/dependencies/generateFlashActGalleryPage.js10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/content/dependencies/generateFlashActGalleryPage.js b/src/content/dependencies/generateFlashActGalleryPage.js
index 1fa6de51..8f174b21 100644
--- a/src/content/dependencies/generateFlashActGalleryPage.js
+++ b/src/content/dependencies/generateFlashActGalleryPage.js
@@ -1,5 +1,7 @@
 import {stitchArrays} from '#sugar';
 
+import striptags from 'striptags';
+
 export default {
   contentDependencies: [
     'generateCoverGrid',
@@ -8,6 +10,7 @@ export default {
     'generatePageLayout',
     'image',
     'linkFlash',
+    'linkFlashAct',
     'linkFlashIndex',
   ],
 
@@ -20,6 +23,9 @@ export default {
     flashIndexLink:
       relation('linkFlashIndex'),
 
+    flashActNavLink:
+      relation('linkFlashAct', act),
+
     flashActNavAccent:
       relation('generateFlashActNavAccent', act),
 
@@ -55,7 +61,7 @@ export default {
       relations.layout.slots({
         title:
           language.$(pageCapsule, 'title', {
-            flash: data.name,
+            flash: striptags(data.name),
           }),
 
         color: data.color,
@@ -81,7 +87,7 @@ export default {
         navLinks: [
           {auto: 'home'},
           {html: relations.flashIndexLink},
-          {auto: 'current'},
+          {html: relations.flashActNavLink},
         ],
 
         navBottomRowContent: relations.flashActNavAccent,