Add break in the moto
This commit is contained in:
parent
120989a333
commit
d88036c1bb
@ -38,7 +38,8 @@ context(PageContext) internal fun HTML.spcPageContent(
|
|||||||
h1 { +title }
|
h1 { +title }
|
||||||
}
|
}
|
||||||
meta["image"]?.let { imageMeta ->
|
meta["image"]?.let { imageMeta ->
|
||||||
val imagePath = imageMeta.value?.string ?: imageMeta["path"].string ?: error("Image path not provided")
|
val imagePath =
|
||||||
|
imageMeta.value?.string ?: imageMeta["path"].string ?: error("Image path not provided")
|
||||||
val imageClass = imageMeta["position"].string ?: "main"
|
val imageClass = imageMeta["position"].string ?: "main"
|
||||||
span("image $imageClass") {
|
span("image $imageClass") {
|
||||||
img {
|
img {
|
||||||
@ -105,10 +106,10 @@ context(PageContext) private fun HTML.spcHome() {
|
|||||||
}
|
}
|
||||||
div("content") {
|
div("content") {
|
||||||
p {
|
p {
|
||||||
+"""Programming in Science"""
|
+"Programming in Science"
|
||||||
br {
|
br{}
|
||||||
}
|
entity(Entities.nbsp)
|
||||||
+"""and Science in Programming"""
|
+"and Science in Programming"
|
||||||
}
|
}
|
||||||
ul("actions") {
|
ul("actions") {
|
||||||
li {
|
li {
|
||||||
|
Loading…
Reference in New Issue
Block a user