diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-01 17:43:35 -0400 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-01-01 17:43:35 -0400 |
commit | a312b897e99251ff9d53014dbb86c7a3b7b6609c (patch) | |
tree | 46aa97345bd6d4905988d052c0d3271abc65b39a /src/data/yaml.js | |
parent | 2fb4acd20a5b311e5f3f8581eb58687ed9cc2d1f (diff) |
specify homepage navbar links & order in data
...rather than just making a guess off the order files are listed by directory access, and using out-of-place 'Show in Navigation Bar'
Diffstat (limited to 'src/data/yaml.js')
-rw-r--r-- | src/data/yaml.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/data/yaml.js b/src/data/yaml.js index 6ddd3a13..02e56d64 100644 --- a/src/data/yaml.js +++ b/src/data/yaml.js @@ -377,8 +377,6 @@ export const processStaticPageDocument = makeProcessDocument(T.StaticPage, { content: 'Content', stylesheet: 'Style', - - showInNavigationBar: 'Show in Navigation Bar', }, }); @@ -403,6 +401,7 @@ export const processWikiInfoDocument = makeProcessDocument(T.WikiInfo, { export const processHomepageLayoutDocument = makeProcessDocument(T.HomepageLayout, { propertyFieldMapping: { sidebarContent: 'Sidebar Content', + navbarLinks: 'Navbar Links', }, ignoredFields: ['Homepage'], @@ -896,6 +895,8 @@ export const dataSteps = [ processDocument: processStaticPageDocument, save(staticPageData) { + sortAlphabetically(staticPageData); + return {staticPageData}; }, }, |