"use strict"; // P A C K A G E S const html = require("choo-async/html"); const local = require("app-root-path").require; // V A R I A B L E const config = local("/config"); // E X P O R T module.exports = exports = () => async (state) => { let pageTitle = ""; if (state.route && state.route !== "/" && state.route !== "*") pageTitle = state.route.charAt(0).toUpperCase() + state.route.slice(1); if (state.params.wildcard) pageTitle = state.params.wildcard.charAt(0).toUpperCase() + state.params.wildcard.slice(1); return html`${[ html``, html`