webzone/mod.ts
Sam Therapy 992e1a19c0
Some checks failed
continuous-integration/drone/push Build is failing
Overhaul my website by just using a template
2024-03-24 17:24:47 +01:00

25 lines
521 B
TypeScript

import plugins from "./plugins.ts";
import "lume/types.ts";
export default function () {
return (site: Lume.Site) => {
// Configure the site
site.use(plugins());
// Add remote files
const files = [
"_includes/css/header.css",
"_includes/css/link.css",
"_includes/layouts/base.vto",
"index.yml",
"styles.css",
"favicon.svg",
"avatar.jpg",
];
for (const file of files) {
site.remoteFile(file, import.meta.resolve(`./src/${file}`));
}
};
}