JekyllNewAliases.

JekyllNew(ICakeContext, DirectoryPath, JekyllNewSettings) Method

Summary

Create a new Jekyll site scaffold using the specified settings.
Assembly
Cake.Jekyll.dll
Namespace
Cake.Jekyll
Containing Type
JekyllNewAliases

Syntax

public static void JekyllNew(this ICakeContext context, DirectoryPath path, JekyllNewSettings settings)

Examples

var settings = new JekyllNewSettings 
{
    Force = true,
    SkipBundle = true,
};

JekyllNew("myblog", settings);

Attributes

Type Description
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The context.
path DirectoryPath The path to scaffold the site.
settings JekyllNewSettings The settings.

Return Value

Type Description
void