]> git.r.bdr.sh - rbdr/blog/blobdiff - lib/blog.js
Allow regeneration of assets
[rbdr/blog] / lib / blog.js
index 50ebbf20e31804a254f96c24c348d73b38621432..27a440e651bbb485c4091a4e8de5ef5100e930f7 100644 (file)
@@ -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');