Skip to content

Commit 57bb0bb

Browse files
committed
chore(model-server): add a page title
1 parent a920ff7 commit 57bb0bb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

model-server/src/main/kotlin/org/modelix/model/server/templates/PageWithMenuBar.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import kotlinx.html.head
1313
import kotlinx.html.img
1414
import kotlinx.html.link
1515
import kotlinx.html.style
16+
import kotlinx.html.title
1617

1718
class PageWithMenuBar(val activePage: String, val baseUrl: String) : Template<HTML> {
1819

@@ -21,6 +22,7 @@ class PageWithMenuBar(val activePage: String, val baseUrl: String) : Template<HT
2122

2223
override fun HTML.apply() {
2324
head {
25+
title("Model-Server Home")
2426
link("$baseUrl/public/modelix-base.css", rel = "stylesheet")
2527
link("$baseUrl/public/menu-bar.css", rel = "stylesheet")
2628
insert(headContent)

0 commit comments

Comments
 (0)