7 * [new Blog(config)](#new_Blog_new)
8 * [.add(postLocation)](#Blog+add) ⇒ <code>Promise.<undefined></code>
9 * [.update(postLocation)](#Blog+update) ⇒ <code>Promise.<undefined></code>
10 * [.publish()](#Blog+publish) ⇒ <code>Promise.<undefined></code>
12 <a name="new_Blog_new"></a>
15 The Blog class is the blog generator, it's in charge of adding and
16 updating posts, and handling the publishing.
19 | Param | Type | Description |
21 | config | <code>Potluck.tConfiguration</code> | the initialization options to extend the instance |
23 <a name="Blog+add"></a>
25 ### blog.add(postLocation) ⇒ <code>Promise.<undefined></code>
26 Shifts the blog posts, adds the passed path to slot 0, and
29 **Kind**: instance method of [<code>Blog</code>](#Blog)
30 **Returns**: <code>Promise.<undefined></code> - empty promise, returns no value
32 | Param | Type | Description |
34 | postLocation | <code>string</code> | the path to the directory containing the post structure |
36 <a name="Blog+update"></a>
38 ### blog.update(postLocation) ⇒ <code>Promise.<undefined></code>
39 Adds the passed path to slot 0, and generates files.
41 **Kind**: instance method of [<code>Blog</code>](#Blog)
42 **Returns**: <code>Promise.<undefined></code> - empty promise, returns no value
44 | Param | Type | Description |
46 | postLocation | <code>string</code> | the path to the directory containing the post structure |
48 <a name="Blog+publish"></a>
50 ### blog.publish() ⇒ <code>Promise.<undefined></code>
51 Publishes the files to a static host.
53 **Kind**: instance method of [<code>Blog</code>](#Blog)
54 **Returns**: <code>Promise.<undefined></code> - empty promise, returns no value