简体   繁体   中英

Using "property" in HTML meta data with kotlin DSL

Hey how can i use html content like:

<meta property="og:locale" content="en"/>

with the Kotlin HTML Type Safe builder? I cannot find something like the property variable in the meta function

meta(content = "en") {
    attributes["property"] = "og:locale"
}

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM