Add a Subpage.kt data class
This commit is contained in:
parent
c24dc632be
commit
e5fedcbde2
|
@ -0,0 +1,12 @@
|
||||||
|
package fr.username404.website.subpages
|
||||||
|
|
||||||
|
import org.w3c.dom.HTMLElement
|
||||||
|
import org.w3c.dom.HTMLHeadElement
|
||||||
|
import org.w3c.dom.HTMLMetaElement
|
||||||
|
|
||||||
|
data class Subpage(
|
||||||
|
val name: String,
|
||||||
|
val head: Set<HTMLHeadElement>,
|
||||||
|
val meta: Set<HTMLMetaElement>?,
|
||||||
|
val content: HTMLElement
|
||||||
|
)
|
Loading…
Reference in New Issue