Fixed logging of Text in SimpleStaticSiteGenerator.

This commit is contained in:
JesseBrault0709 2023-01-13 08:48:41 -06:00
parent 9ecb985bc9
commit c312b0cf8f

View File

@ -58,7 +58,7 @@ class SimpleStaticSiteGenerator implements StaticSiteGenerator {
// Find the appropriate template from the frontMatter
def desiredTemplate = frontMatter.find('template')
if (desiredTemplate.isEmpty()) {
logger.info('{} has no \'template\' key in its frontMatter; skipping generation')
logger.info('{} has no \'template\' key in its frontMatter; skipping generation', it)
return
}
def template = templates.find { it.path == desiredTemplate.get() }