Update to DataForge 0.8

This commit is contained in:
Alexander Nozik 2024-02-19 20:14:25 +03:00
parent 671ae6357f
commit c2a60646f7

View File

@ -3,10 +3,7 @@ package center.sciprog
import kotlinx.html.* import kotlinx.html.*
import space.kscience.dataforge.meta.get import space.kscience.dataforge.meta.get
import space.kscience.dataforge.meta.string import space.kscience.dataforge.meta.string
import space.kscience.snark.html.PageContext import space.kscience.snark.html.*
import space.kscience.snark.html.getLanguageMap
import space.kscience.snark.html.homeRef
import space.kscience.snark.html.resolvePageRef
import java.time.LocalDate import java.time.LocalDate
@ -159,7 +156,7 @@ internal fun FlowContent.spcFooter() {
} }
context(PageContext) context(PageContext)
internal fun FlowContent.wrapper(contentBody: FlowContent.() -> Unit) { internal fun FlowContent.wrapper(contentBody: FlowContent.() -> Unit) = postprocess{
div { div {
id = "wrapper" id = "wrapper"
// Header // Header