#!/usr/bin/env xml.zsh # SPDX-FileCopyrightText: © Initra Doasu # SPDX-License-Identifier: CC-BY-NC-SA-4.0 exec > "${0:fr}.html" > /dev/null { source _lib/defer.zsh source _lib/nullcmd.zsh } TITLE="initra::doasu" : ${WEBROOT:="https://www.doasu.eu"} SOURCE="${0}" WEBPATH="${SOURCE:fr}.html" URL="${WEBROOT}/${WEBPATH}" source _parts/license.xml.zsh source _parts/head.xml.zsh :: body && defer ":: /body" :: header :: h1 :: :: a href=/ :: $(:: span class=home :: "|>$(:: span class=blink :: "_")") <<< ${TITLE} :: /h1 :: /header :: article :: :: p :: "I'm doasu, a.k.a. initra. Welcome to my webbed site~! :3" :: p :: "This site is generated using $(:: a href="https://codeberg.org/doasu/xml.zsh" :: xml.zsh), it's source is available $(:: a href="${SOURCE}" :: here)." :: section id=links :: h3 id=links :: "My other sites:" source _parts/links.xml.zsh :: /section :: section id=buttons :: h3 :: "Buttons!" :: p :: "WIP, let me know if you want your button here :3" :: div :: "$(source _parts/buttons.xml.zsh)" :: /section :: /article source _parts/footer.xml.zsh