stylesheet
fun HEAD.stylesheet(file: RevisionedFile, crossorigin: ScriptCrossorigin? = null, integrity: Boolean = RevFileHtml.useSubresourceIntegrity, block: LINK.() -> Unit = {})(source)
Adds a <link rel="stylesheet">
tag for the given revisioned file.
Parameters
file
the revisioned file
crossorigin
value for the crossorigin
attribute. Default is null
.
integrity
whether the integrity
attribute should be set. Default can be configured with useSubresourceIntegrity while installing the RevFilePlugin.
block
optional block to further customize the <link>
tag