head

abstract val head: ListProperty<HEAD.() -> Unit>(source)

A list of element builders to add to the <head> of the app's generated index.html file.

You should normally use ListProperty.add to add new elements to the head block:

kobweb.library.index.head.add {
link(href = "styles.css", rel = "stylesheet")
}

Use ListProperty.set to override any previously set values.

Note that apps will have the option to opt-out of including these elements.