import lume from "lume/mod.ts"; import code_highlight from "lume/plugins/code_highlight.ts"; import feed from "lume/plugins/feed.ts"; import date from "lume/plugins/date.ts"; import toc from "lume_markdown_plugins/toc.ts"; import relativeUrls from "lume/plugins/relative_urls.ts"; const site = lume({ prettyUrls: false, }).use(toc({ slugify: { separator: "_", lowercase: true, }, })).use(relativeUrls()); site.use(date()); site.copy("/index.html"); site.copy("css/"); site.copy("icons/"); site.copy("fonts/"); site.copy("img/"); site.copy("js/"); site.copy("lib/"); site.copy("favicon.ico"); site.use(code_highlight()); site.use(feed()); export default site;