diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-01-30 20:34:33 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-30 20:34:33 -0400 |
commit | e8a6156d2821bfeac9873721918e41485f0f10e4 (patch) | |
tree | 674ada921e7010d3f6f6eeeef7f18e2aea983a55 /src/page/homepage.js | |
parent | 5e5ae8defa884984eb8a6d11ac9917bf81fd03d6 (diff) | |
parent | 4bd23453892beb2aab1f96b1c8aada552288db9a (diff) |
Merge pull request #149 from hsmusic/layout-cleanup
Data-ize various page content-generation calls
Diffstat (limited to 'src/page/homepage.js')
-rw-r--r-- | src/page/homepage.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/page/homepage.js b/src/page/homepage.js index 9722f105..465152aa 100644 --- a/src/page/homepage.js +++ b/src/page/homepage.js @@ -84,7 +84,9 @@ export function writeTargetless({wikiData}) { main: { classes: ['top-index'], - content: html.fragment([ + headingMode: 'none', + + content: [ html.tag('h1', wikiInfo.name), @@ -136,7 +138,7 @@ export function writeTargetless({wikiData}) { })), ]), ]))), - ]), + ], }, sidebarLeft: homepageLayout.sidebarContent && { |