public static string generateHTML(this CompiledTemplate compiledTemplate, object model) { return(generateHTML(compiledTemplate.Assembly, compiledTemplate.FullyQualifiedClassName, model)); }
public SiteGenerator(string outputPath) { _outputPath = outputPath; _pageTemplate = Template.compile<PageWriter>(Path.Combine(SiteSourcePath, SiteTemplateFilename)); _rssTemplate = Template.compile<RSSFeedWriter>(Path.Combine(SiteSourcePath, RSSFeedTemplateFilename)); }