local function headcomment() return h.comment([[ Copyright 2026 robinwobin Licensed under EUPL-1.2; you may not use this file except in compliance with the License. You may obtain a copy of the License at https://codeberg.org/comfysage/maivi/src/branch/main/LICENSE Source is available at https://codeberg.org/comfysage/maivi/src/branch/main/docs ]]) end return function(_) return h({ headcomment(), h.document({ h.head({ h.meta({ charset = "utf-8" }), h.meta({ name = "viewport", content = "width=device-width, initial-scale=1", }), h.meta({ name = "color-scheme", content = "dark" }), h.meta({ name = "darkreader-lock" }), h.title("maivi :3"), h.meta({ name = "author", content = "robinwobin" }), h.meta({ name = "description", content = "a tiny cute lua web framework", }), h.link({ rel = "canonical", href = this.base_url }), h.meta({ property = "og:title", content = "maivi :3" }), h.meta({ property = "og:url", content = this.base_url }), h.meta({ property = "og:site_name", content = "maivi docs" }), h.meta({ property = "og:description", content = "a tiny cute lua web framework", }), h.meta({ property = "og:type", content = "website" }), h.meta({ name = "theme-color", content = "#febdd4" }), h.link({ rel = "icon", href = "/favicon.svg" }), h.link({ rel = "mask-icon", href = "/favicon.svg", color = "#febdd4", }), h.style( ---@language css [[ @layer reset, theme, base, layout, components, partials, page, media; ]] ), -- reset h.stylesheet({ href = "/styles/reset.css" }), h.stylesheet({ href = "/styles/media.css" }), h.stylesheet({ href = "/styles/fonts.css" }), h.stylesheet({ href = "/styles/base.css" }), h.stylesheet({ href = "/styles/colors.css" }), h.stylesheet({ href = "/styles/text.css" }), h.stylesheet({ href = "/styles/style.css" }), h.stylesheet({ href = "/styles/syntax.css" }), h.script({ defer = "", type = "module", src = "https://cdn.jsdelivr.net/npm/microlighter@2.2.0/dist/microlighter.min.js", }), }), h.body({ h.div({ id = "root-bg", h.div({ id = "root-bg-noise", h.svg({ width = "0", height = "0", h.filter({ id = "noise", maivi.elem("feTurbulence", { empty = true })({ type = "fractalNoise", baseFrequency = ".66", numOctaves = "3", stitchTiles = "stitch", result = "noise", }), maivi.elem("feBlend", { empty = true })({ ["in"] = "SourceGraphic", in2 = "noise", mode = "multiply", }), }), }), }), }), h.div({ id = "root", h.div({ id = "page", maivi.mod("sidebar"), maivi.mod("content"), }), }), }), }), }) end