From 1ab975bfb145efb3dcd0eed3c5d6c79917456533 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 21 Jan 2014 11:57:57 +0000 Subject: [PATCH] JAL-957 only include content body for 'normal' pages - workaround an apparent FreeMarker bug causing metadata to be included in content body --- examples-jbake/templates/page.ftl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples-jbake/templates/page.ftl b/examples-jbake/templates/page.ftl index 34b8789..05b3812 100644 --- a/examples-jbake/templates/page.ftl +++ b/examples-jbake/templates/page.ftl @@ -4,10 +4,13 @@
<#if (content.class?exists) > + <#include content.class /> - + +<#else> ${content.body} +
<#include "footer.ftl"/> \ No newline at end of file -- 1.7.10.2