Fixed logging of Text in SimpleStaticSiteGenerator.
This commit is contained in:
parent
9ecb985bc9
commit
c312b0cf8f
@ -58,7 +58,7 @@ class SimpleStaticSiteGenerator implements StaticSiteGenerator {
|
|||||||
// Find the appropriate template from the frontMatter
|
// Find the appropriate template from the frontMatter
|
||||||
def desiredTemplate = frontMatter.find('template')
|
def desiredTemplate = frontMatter.find('template')
|
||||||
if (desiredTemplate.isEmpty()) {
|
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
|
return
|
||||||
}
|
}
|
||||||
def template = templates.find { it.path == desiredTemplate.get() }
|
def template = templates.find { it.path == desiredTemplate.get() }
|
||||||
|
Loading…
Reference in New Issue
Block a user