Change title
authorLanius Trolling <lanius@laniustrolling.dev>
Thu, 27 Jul 2023 18:03:47 +0000 (14:03 -0400)
committerLanius Trolling <lanius@laniustrolling.dev>
Thu, 27 Jul 2023 18:03:47 +0000 (14:03 -0400)
src/main/kotlin/info/mechyrdia/lore/views_lore.kt

index a3f50355e9deee51989a24b334b1508e0b5d52e0..72f1a6b9fc9ec1d7cde5233ee4d495e780c5287b 100644 (file)
@@ -10,13 +10,11 @@ import kotlinx.coroutines.flow.toList
 import kotlinx.html.*
 import java.io.File
 
-private const val INTRO_TITLE = "Arma Virumque Cano"
-
 suspend fun ApplicationCall.loreIntroPage(): HTML.() -> Unit {
        val htmlFile = File(Configuration.CurrentConfiguration.articleDir).parentFile.combineSafe("intro.html")
        val fileHtml = htmlFile.readText()
        
-       return page(INTRO_TITLE, standardNavBar(), null) {
+       return page("Welcome to Mechyrdia", standardNavBar(), null) {
                section {
                        a { id = "page-top" }
                        unsafe { raw(fileHtml) }