head
A list of element builders to add to the <head>
of the generated index.html
file.
You should normally use ListProperty.add to add new elements to the head block:
kobweb.app.index.head.add {
link(href = "styles.css", rel = "stylesheet")
}
Content copied to clipboard
which will preserve the default entries added by Kobweb. Use ListProperty.set to override the defaults with custom entries.