diff options
Diffstat (limited to 'src/page/static.js')
-rw-r--r-- | src/page/static.js | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/page/static.js b/src/page/static.js index 2da71b74..8572db4e 100644 --- a/src/page/static.js +++ b/src/page/static.js @@ -13,22 +13,16 @@ export function write(staticPage) { type: 'page', path: ['staticPage', staticPage.directory], page: ({ - generateStickyHeadingContainer, - html, transformMultiline, }) => ({ title: staticPage.name, stylesheet: staticPage.stylesheet, main: { - content: [ - generateStickyHeadingContainer({ - class: ['long-content'], - title: staticPage.name, - }), - html.tag('div', {class: 'long-content'}, - transformMultiline(staticPage.content)), - ], + classes: ['long-content'], + headingMode: 'sticky', + + content: transformMultiline(staticPage.content), }, nav: {simple: true}, |