From ac5cf2a1e11260ea7415c6e43b0f6270b68bbb69 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Wed, 17 Aug 2022 22:05:45 -0300 Subject: fix missing h1 in static pages --- src/page/static.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src') 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}, -- cgit 1.3.0-6-gf8a5