From 4a35d1b4bfbd46d7e99e805b90ce95fc1f3779c1 Mon Sep 17 00:00:00 2001 From: Tyson Gern Date: Sat, 13 Apr 2024 19:57:06 -0600 Subject: [PATCH] Minor layout tweaks --- src/main/kotlin/io/initialcapacity/streaming/Layout.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/io/initialcapacity/streaming/Layout.kt b/src/main/kotlin/io/initialcapacity/streaming/Layout.kt index f2849ce..7893a19 100644 --- a/src/main/kotlin/io/initialcapacity/streaming/Layout.kt +++ b/src/main/kotlin/io/initialcapacity/streaming/Layout.kt @@ -32,7 +32,7 @@ class Layout : Template { useTag("/images/icons.svg#logo") } } - li { +"Streaming HTML" } + li { h1 { +"Streaming HTML" } } } } footer { @@ -45,10 +45,9 @@ class Layout : Template { } } span { - +"©" script(type = ScriptType.textJavaScript) { unsafe { - raw("document.write(new Date().getFullYear());") + raw("""document.write("©" + new Date().getFullYear());""") } } +"Initial Capacity, Inc."