commit 6844c48c8e67cbeb516ca652ae860e524ccb20c4 parent 0a7c9321d9931d46bcbf98c4eebae4881f3071bf Author: Kyle Milz <kyle@getaddrinfo.net> Date: Sat, 18 Apr 2015 00:44:53 -0600 tt: add summary Diffstat:
A | tt/summary.tt | | | 16 | ++++++++++++++++ |
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/tt/summary.tt b/tt/summary.tt @@ -0,0 +1,16 @@ +[% WRAPPER wrapper.tt %] +[% PERL %] + # all url references are lower case + my $dir_prefix = lc($stash->get("name")); + $stash->set("name_lc", $dir_prefix); +[% END %] + <h1><img alt="[% name %]" class="logo_small" src="/logo/[% logo %]"/></h1> + + <ul> + [% FOREACH item IN info %] + <li><a href="/[% type %]/[% info.$item.link %].html"> + [% info.$item.num %]</a> + [% item %] + [% END %] + </ul> +[% END %]