Foster Hangdaan
6b5fa15f2c
- Added fonts as static assets. We no longer depend the client's system to have the fonts installed. - Moved site wide monospace and sans-serif font families to a global variable.
20 lines
353 B
TypeScript
20 lines
353 B
TypeScript
import lume from "lume/mod.ts";
|
|
import jsx from "lume/plugins/jsx.ts";
|
|
import nav from "lume/plugins/nav.ts";
|
|
import sass from "lume/plugins/sass.ts";
|
|
|
|
const site = lume({
|
|
server: {
|
|
port: 8080,
|
|
},
|
|
});
|
|
|
|
site.ignore("README.md", "LICENSE.txt");
|
|
|
|
site.copy("static", ".");
|
|
|
|
site.use(jsx());
|
|
site.use(nav());
|
|
site.use(sass());
|
|
|
|
export default site;
|