1159cl/_config.ts

33 lines
679 B
TypeScript
Raw Permalink Normal View History

2024-12-06 23:38:18 +00:00
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;