forked from ti-nuage/site
Nouvelle dépendance pour la génération des CR.
This commit is contained in:
@@ -4,6 +4,7 @@ const cleanCSS = require('metalsmith-clean-css')
|
||||
const config = require('./config.js')
|
||||
const collections = require('@metalsmith/collections')
|
||||
const excerpts = require('@metalsmith/excerpts')
|
||||
const groff = require('metalsmith-groff')
|
||||
const layouts = require('@metalsmith/layouts')
|
||||
const Metalsmith = require('metalsmith')
|
||||
const markdown = require('metalsmith-markdownit')
|
||||
@@ -39,6 +40,7 @@ module.exports = new Metalsmith(config.paths.projectRoot)
|
||||
source: './assets/' + (process.env.NODE_ENV || 'dev'),
|
||||
destination: './'
|
||||
}))
|
||||
.use(groff())
|
||||
.use(markdown({
|
||||
html: true,
|
||||
linkify: true,
|
||||
|
||||
Reference in New Issue
Block a user