miom.space/_config.ts
teutat3s 8c62767ca5
MiOM 202 -> MiOM Kreativraum,
Ignore docker-compose.yml in lume
2023-02-27 16:47:33 +01:00

34 lines
620 B
TypeScript

import lume from "lume/mod.ts";
import postcss from "lume/plugins/postcss.ts";
const markdown = { options: { breaks: true } };
const site = lume({}, { markdown });
site.use(postcss());
site.loadAssets([
".png",
".jpg",
".svg",
".pdf",
".woff2",
".woff",
".ttf",
".otf",
".js",
".txt",
]);
site.filter("title", (value = '') => value + (value ? " | " : "") + "MiOM");
site.filter("objectToArray", (value = {}) => Object.keys(value)
.sort()
.map(key => value[key])
.filter(val => !!val)
);
site.ignore("README.md", "CHANGELOG.md", "LICENSE.md", "docker-compose.yml");
export default site;