aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/tree_list.tt214
1 files changed, 9 insertions, 5 deletions
diff --git a/tmpl/tree_list.tt2 b/tmpl/tree_list.tt2
index d0a1252..11a1f6f 100644
--- a/tmpl/tree_list.tt2
+++ b/tmpl/tree_list.tt2
@@ -28,11 +28,15 @@
<div class="headingbottom"></div>
</div>
- <p>
- <ul>
- <li><a href="linux">Linux</a>
- </ul>
- </p>
+ <div id="content">
+ <p>
+ <ul>
+ [% FOREACH tree = context.read_config.keys.sort %]
+ <li><a href="[% tree %]">[% tree | ucfirst %]</a>
+ [% END %]
+ </ul>
+ </p>
+ </div>
</body>
</html>
[% INCLUDE footer.tt2 %]