Constructor
new Jekyll(options)
Create a new Jekyll object
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object
|
Options for this Jekyll instance
|
Methods
collection(name, paramsopt) → {Promise.<Collection>}
Load a specific collection by name
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
name |
String
|
Name of collection to load |
|
params |
Object
|
<optional> |
Additional params (sent to github) |
collections(paramsopt) → {Promise.<Array>}
Load collections for this Jekyll instance
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
Object
|
<optional> |
Additional params (sent to github) |
Returns:
- Type:
-
Promise.<Array>
- Returns promise with array of Collections