Add a Subpage.kt data class

This commit is contained in:
Username404 2021-06-20 21:40:21 +02:00
parent c24dc632be
commit e5fedcbde2
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 12 additions and 0 deletions

View File

@ -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
)