Merge branch 'JAL-957_jbake' into Release_2_8_Branch
[jalview.git] / examples-jbake / templates / page.ftl
diff --git a/examples-jbake/templates/page.ftl b/examples-jbake/templates/page.ftl
new file mode 100644 (file)
index 0000000..fb8b88f
--- /dev/null
@@ -0,0 +1,36 @@
+<#include "header.ftl"/>
+<#include "macros.ftl"/>
+<#include "sidebar.ftl"/>
+<div id="content" class="content">
+
+<#if (content.class?exists) > 
+
+<!-- boiler plate link to alternate demopage -->
+
+<div style="width: 100%">
+<div style="float:left;">
+</div><div style="border: 2px solid black; align: left; float:right;">
+<#if (content.alteg?exists) >
+ Scary Java warnings ? Try <a href="${content.uri?substring(3)}">the signed applet demos</a>
+<#else>
+ Working on Snow Leopard or Java out of date ? Try <a href="u_${content.uri?substring(1)}">the unsigned applet demos</a>
+</#if>
+</div>
+</div>
+
+<!-- content template start -->
+  <#include content.class />
+<!-- content template end -->
+
+
+<#else>
+
+<!-- content start -->
+${content.body}
+<!-- content end -->
+
+</#if>
+
+</div> <!-- end content div -->
+
+<#include "footer.ftl"/>