« get me outta code hell

hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/page/static.js7
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},