Property | Type | Description | |
---|---|---|---|
Context | Pretzel.Logic.Templating.Context.SiteContext |
Property | Type | Description | |
---|---|---|---|
CreateOutputDirectory | void | ||
FindLayoutPath | string | ||
GetContentExcerpt | string | ||
GetNext | Pretzel.Logic.Templating.Context.Page | ||
GetPrevious | Pretzel.Logic.Templating.Context.Page | ||
MapToOutputPath | string | ||
ProcessFile | void | ||
ProcessTemplate | object>.IDictionary | ||
RenderContent | string |
Method | Description | |
---|---|---|
CanProcess ( Pretzel.Logic.Templating.Context.SiteContext context ) : bool | ||
CopyFileIfSourceNewer ( string sourceFileName, string destFileName, bool overwrite ) : void | ||
Initialize ( ) : void | ||
Process ( Pretzel.Logic.Templating.Context.SiteContext siteContext, bool skipFileOnError = false ) : void |
Method | Description | |
---|---|---|
PreProcess ( ) : void | ||
RenderTemplate ( string content, Pretzel.Logic.Templating.Context.PageContext pageData ) : string |
Method | Description | |
---|---|---|
CreateOutputDirectory ( string outputFile ) : void | ||
FindLayoutPath ( string layout ) : string | ||
GetContentExcerpt ( string content, string excerptSeparator ) : string | ||
GetNext ( IList |
||
GetPrevious ( IList |
||
MapToOutputPath ( string file ) : string | ||
ProcessFile ( string outputDirectory, Pretzel.Logic.Templating.Context.Page page, Pretzel.Logic.Templating.Context.Page previous, Pretzel.Logic.Templating.Context.Page next, bool skipFileOnError, string relativePath = "" ) : void | ||
ProcessTemplate ( Pretzel.Logic.Templating.Context.PageContext pageContext, string path ) : object>.IDictionary |
||
RenderContent ( string file, string contents ) : string |
public CanProcess ( Pretzel.Logic.Templating.Context.SiteContext context ) : bool | ||
context | Pretzel.Logic.Templating.Context.SiteContext | |
return | bool |
public CopyFileIfSourceNewer ( string sourceFileName, string destFileName, bool overwrite ) : void | ||
sourceFileName | string | |
destFileName | string | |
overwrite | bool | |
return | void |
public Process ( Pretzel.Logic.Templating.Context.SiteContext siteContext, bool skipFileOnError = false ) : void | ||
siteContext | Pretzel.Logic.Templating.Context.SiteContext | |
skipFileOnError | bool | |
return | void |
protected abstract RenderTemplate ( string content, Pretzel.Logic.Templating.Context.PageContext pageData ) : string | ||
content | string | |
pageData | Pretzel.Logic.Templating.Context.PageContext | |
return | string |