From: jprocter Date: Tue, 21 Jan 2014 11:59:04 +0000 (+0000) Subject: JAL-957 macro-ise the sidebar generation loop and add mechanism for linking to signed... X-Git-Tag: Release_2_8_0b1~1^2~14^2~13 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=a90a2ca70e84c2923c682512a27e93785ad65557;p=jalview.git JAL-957 macro-ise the sidebar generation loop and add mechanism for linking to signed/unsigned version of the applet example pages --- 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}
  • + + +