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 1689d16b..a82bb9e3 100644 --- a/src/page/static.js +++ b/src/page/static.js @@ -11,22 +11,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}, |