diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2022-08-17 22:05:45 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2022-08-17 22:05:45 -0300 |
commit | ac5cf2a1e11260ea7415c6e43b0f6270b68bbb69 (patch) | |
tree | 50399be01a3fdfe327dc837977fb84b99ce616b0 /src/page | |
parent | cb3edb0b2bdea87cd29559e4a9df2e7c062a4df7 (diff) |
fix missing h1 in static pages
Diffstat (limited to 'src/page')
-rw-r--r-- | src/page/static.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/page/static.js b/src/page/static.js index 5f50333a..8925b606 100644 --- a/src/page/static.js +++ b/src/page/static.js @@ -17,9 +17,10 @@ export function write(staticPage) { stylesheet: staticPage.stylesheet, main: { - content: html.tag('div', - {class: 'long-content'}, - transformMultiline(staticPage.content)), + content: html.tag('div', {class: 'long-content'}, [ + html.tag('h1', staticPage.name), + transformMultiline(staticPage.content), + ]), }, nav: {simple: true}, |