25 lines
428 B
TypeScript
25 lines
428 B
TypeScript
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",
|
|
".woff",
|
|
".ttf",
|
|
".otf",
|
|
".js",
|
|
]);
|
|
|
|
site.filter("title", (value = '') => value + (value ? " | " : "") + "MiOM");
|
|
|
|
export default site;
|