2021-08-18 19:56:22 +01:00
|
|
|
module.exports = config => {
|
|
|
|
|
|
|
|
// Layout aliases
|
|
|
|
config.addLayoutAlias('home', 'layouts/home.njk')
|
|
|
|
config.addLayoutAlias('page', 'layouts/page.njk')
|
|
|
|
config.addLayoutAlias('contact', 'layouts/contact.njk')
|
2021-08-20 00:57:02 +01:00
|
|
|
config.addLayoutAlias('post', 'layouts/post.njk')
|
|
|
|
config.addLayoutAlias('blog', 'layouts/blog.njk')
|
2021-08-18 19:56:22 +01:00
|
|
|
// Include static assets
|
|
|
|
config.addPassthroughCopy('internal/css')
|
|
|
|
config.addPassthroughCopy('internal/js')
|
|
|
|
config.addPassthroughCopy('internal/img')
|
|
|
|
config.addPassthroughCopy('favicon.png')
|
|
|
|
config.addPassthroughCopy('favicon.svg')
|
|
|
|
|
|
|
|
return {
|
|
|
|
markdownTemplateEngine: 'njk',
|
|
|
|
dir: {
|
|
|
|
input: 'internal',
|
|
|
|
output: 'public',
|
|
|
|
includes: '_includes',
|
2021-08-29 21:23:02 +01:00
|
|
|
data: '_data'
|
2021-08-18 19:56:22 +01:00
|
|
|
}
|
|
|
|
}
|
2021-08-20 00:57:02 +01:00
|
|
|
|
2021-09-17 15:41:29 +01:00
|
|
|
}
|
|
|
|
|