« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/content/dependencies/generatePageLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/content/dependencies/generatePageLayout.js')
-rw-r--r--src/content/dependencies/generatePageLayout.js18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/content/dependencies/generatePageLayout.js b/src/content/dependencies/generatePageLayout.js
index c9ab83fb..f4378700 100644
--- a/src/content/dependencies/generatePageLayout.js
+++ b/src/content/dependencies/generatePageLayout.js
@@ -98,12 +98,6 @@ export default {
 
     cover: {type: 'html'},
 
-    banner: {type: 'html'},
-    bannerPosition: {
-      validate: v => v.is('top', 'bottom'),
-      default: 'top',
-    },
-
     socialEmbed: {type: 'html'},
 
     colorStyleRules: {
@@ -135,6 +129,14 @@ export default {
     ...sidebarSlots('leftSidebar'),
     ...sidebarSlots('rightSidebar'),
 
+    // Banner
+
+    banner: {type: 'html'},
+    bannerPosition: {
+      validate: v => v.is('top', 'bottom'),
+      default: 'top',
+    },
+
     // Nav & Footer
 
     navContent: {type: 'html'},
@@ -189,6 +191,8 @@ export default {
         })
     },
 
+    secondaryNav: {type: 'html'},
+
     footerContent: {type: 'html'},
   },
 
@@ -420,7 +424,7 @@ export default {
     const layoutHTML = [
       navHTML,
       slots.bannerPosition === 'top' && slots.banner,
-      // secondaryNavHTML,
+      slots.secondaryNav,
       html.tag('div',
         {
           class: [