#!/usr/bin/lua package.path = ".zs/?.lua;" .. package.path local html = require "components.html" local date = os.date("!%Y-%m-%dT%H:%M:%S%Z") print(html { tag = "footer", { tag = "div", { tag = "div", { tag = "span", "made with ", { tag = "span", style = "color: var(--red)", "<3" }, " by darkuss" }, { tag = "span", { tag = "a", href = "/credits.html", "credits" } }, { tag = "span", { tag = "a", href = "/privacy.html", "privacy" } }, { tag = "span", "built on: ", { tag = "time", datetime = date, date } } } } } )