aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-20 23:41:09 +0100
committerRuben Beltran del Rio <ruben@unlimited.pizza>2021-03-20 23:41:09 +0100
commite54f8139d084e0c8b2ad67e084cbeda3a2e35c90 (patch)
tree0dfe6ec0126a19cadb564183c469a0d37b7bce0c /lib
parent9e355758760cfa0c3d34759d22875c9d82ddd971 (diff)
Allow regeneration of assets
Diffstat (limited to 'lib')
-rw-r--r--lib/blog.js4
1 files changed, 2 insertions, 2 deletions
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');