oliverdavies.uk/fractal/fractal.config.js

30 lines
682 B
JavaScript
Raw Normal View History

2023-01-01 19:16:35 +00:00
'use strict';
const fractal = module.exports = require('@frctl/fractal').create();
const mandelbrot = require("@frctl/mandelbrot")
2023-01-01 19:16:35 +00:00
fractal.set('project.title', 'oliverdavies.uk');
fractal.components.set('path', __dirname + '/src/components');
fractal.components.engine(require('@frctl/nunjucks'));
fractal.components.set('ext', '.njk');
2023-01-01 19:16:35 +00:00
fractal.docs.set('path', __dirname + '/src/docs');
fractal.web.theme(
mandelbrot({
information: [
{
label: 'Built on',
value: new Date(),
type: 'time',
format: (value) => {
return value.toLocaleDateString('en');
},
},
],
format: "yaml",
skin: "black",
})
);