1159cl/_config.ts
Mario1159 5b6b79892c
Some checks failed
Release / test (push) Failing after 51s
Release / push-docker-image (push) Has been skipped
2024 new version
2024-12-06 20:38:18 -03:00

33 lines
679 B
TypeScript

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;