=================================================================== RCS file: /cvs/todotxt/Text-Todo/bin/dudelicious.pl,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- todotxt/Text-Todo/bin/dudelicious.pl 2010/05/05 02:43:03 1.15 +++ todotxt/Text-Todo/bin/dudelicious.pl 2010/05/05 03:01:08 1.16 @@ -82,6 +82,7 @@ else { $self->render( list => $self->helper('get_list'), + tags => $self->helper('todo')->known_tags, layout => 'todotxt' ); } @@ -161,11 +162,17 @@ @@ index.html.ep % foreach my $file (@{ $files }) { % my ($basename) = $file =~ /^(.*?)(?:\.[^\.]+)?$/xms; -<%= $file %>
+<%= $file %>
% } @@ list.html.ep

<%= $file %>

+% if ( $tags ) { +% foreach my $tag (keys%{ $tags }) { +%= include 'tag_menu', tag => $tag +
+% } +% }
    % foreach my $entry (@{ $list }) {
  1. @@ -184,10 +191,20 @@ @@ tag.html.ep

    <%= $tag %>

    -% foreach my $item (@{ $items }) { +% foreach my $item (sort @{ $items }) { <%= $item %>
    % } +@@ tag_menu.html.ep +% my $items = todo()->listtag($tag); +<%= $tag %>: + + + @@ layouts/todotxt.html.ep @@ -219,7 +236,7 @@ Since the $VERSION can't be automatically included, here is the RCS Id instead, you'll have to look up $VERSION. - $Id: dudelicious.pl,v 1.15 2010/05/05 01:43:03 andrew Exp $ + $Id: dudelicious.pl,v 1.16 2010/05/05 02:01:08 andrew Exp $ =head1 SYNOPSIS