From e54f8139d084e0c8b2ad67e084cbeda3a2e35c90 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Sat, 20 Mar 2021 23:41:09 +0100 Subject: Allow regeneration of assets --- lib/blog.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/blog.js b/lib/blog.js index 50ebbf2..27a440e 100644 --- a/lib/blog.js +++ b/lib/blog.js @@ -81,7 +81,7 @@ module.exports = class Blog { await this._copyPost(postLocation); await this._writeMetadata(metadata); - await this._generate(); + await this.generate(); } /** @@ -100,7 +100,7 @@ module.exports = class Blog { // Parses markdown for each page, copies assets and generates index. - async _generate() { + async generate() { internals.debuglog('Generating output'); -- cgit