git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9117af
)
JAL-957 only include content body for 'normal' pages - workaround an apparent FreeMar...
author
jprocter
<jprocter@dundee.ac.uk>
Tue, 21 Jan 2014 11:57:57 +0000
(11:57 +0000)
committer
jprocter
<jprocter@dundee.ac.uk>
Tue, 21 Jan 2014 11:57:57 +0000
(11:57 +0000)
examples-jbake/templates/page.ftl
patch
|
blob
|
history
diff --git
a/examples-jbake/templates/page.ftl
b/examples-jbake/templates/page.ftl
index
34b8789
..
05b3812
100644
(file)
--- a/
examples-jbake/templates/page.ftl
+++ b/
examples-jbake/templates/page.ftl
@@
-4,10
+4,13
@@
<div id="content" class="content">
<#if (content.class?exists) >
+<!-- content template start -->
<#include content.class />
-</#if>
+<!-- content template end -->
+<#else>
<!-- content start -->
${content.body}
<!-- content end -->
+</#if>
</div>
<#include "footer.ftl"/>
\ No newline at end of file