mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 12:05:28 +00:00
refactor(plop): use short date in template
This commit is contained in:
@@ -3,7 +3,7 @@ const moment = require('moment');
|
|||||||
|
|
||||||
const currentDir = process.cwd();
|
const currentDir = process.cwd();
|
||||||
const templatePath = 'plop';
|
const templatePath = 'plop';
|
||||||
const date = moment().format();
|
const date = moment().format('YYYY-MM-DD');
|
||||||
const year = moment().format('YYYY');
|
const year = moment().format('YYYY');
|
||||||
|
|
||||||
module.exports = function (plop) {
|
module.exports = function (plop) {
|
||||||
|
|||||||
Reference in New Issue
Block a user