From e5fedcbde2377beadb5c26d9db7ada55dcb7586a Mon Sep 17 00:00:00 2001 From: Username404 Date: Sun, 20 Jun 2021 21:40:21 +0200 Subject: [PATCH] Add a Subpage.kt data class --- .../fr/username404/website/subpages/Subpage.kt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main/kotlin/fr/username404/website/subpages/Subpage.kt diff --git a/src/main/kotlin/fr/username404/website/subpages/Subpage.kt b/src/main/kotlin/fr/username404/website/subpages/Subpage.kt new file mode 100644 index 0000000..8e14057 --- /dev/null +++ b/src/main/kotlin/fr/username404/website/subpages/Subpage.kt @@ -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, + val meta: Set?, + val content: HTMLElement +)