miom.space/_config.ts

25 lines
428 B
TypeScript
Raw Normal View History

2021-10-22 11:13:16 +00:00
import lume from "https:/deno.land/x/lume/mod.ts";
import postcss from "https:/deno.land/x/lume/plugins/postcss.ts";
const markdown = { breaks: true };
const site = lume({}, { markdown });
site.use(postcss());
site.loadAssets([
".png",
".jpg",
".svg",
".pdf",
".woff2",
2021-10-22 16:05:00 +00:00
".woff",
".ttf",
".otf",
".js",
2021-10-22 11:13:16 +00:00
]);
site.filter("title", (value = '') => value + (value ? " | " : "") + "MiOM");
export default site;