From a90a2ca70e84c2923c682512a27e93785ad65557 Mon Sep 17 00:00:00 2001 From: jprocter Date: Tue, 21 Jan 2014 11:59:04 +0000 Subject: [PATCH] JAL-957 macro-ise the sidebar generation loop and add mechanism for linking to signed/unsigned version of the applet example pages --- examples-jbake/templates/sidebar.ftl | 48 ++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/examples-jbake/templates/sidebar.ftl b/examples-jbake/templates/sidebar.ftl index 84bbed8..58970e6 100644 --- a/examples-jbake/templates/sidebar.ftl +++ b/examples-jbake/templates/sidebar.ftl @@ -1,25 +1,33 @@ -
- + <@allpages; page> + <#if (((page.level!"1")?number)<1) > +
  • ${page.title}
  • + + + <@allpages; page> + <#if (((page.level!"1")?number)>0) > +
  • ${page.title}
  • + + +
    -- 1.7.10.2