===================================================================
RCS file: /cvs/todotxt/Text-Todo/bin/dudelicious.pl,v
retrieving revision 1.13
retrieving revision 1.16
diff -u -r1.13 -r1.16
--- todotxt/Text-Todo/bin/dudelicious.pl 2010/05/01 22:11:58 1.13
+++ 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'
);
}
@@ -146,11 +147,11 @@
@@ tags.txt.ep
% foreach my $tag (keys %{ $tags }) {
-<%= $tag %>, <%= $tags->{$tag} %>
+<%= $tag %>: <%= $tags->{$tag} %>
% }
@@ tag.txt.ep
-# <%= $tag %>
+# <%== $tag %>
% foreach my $item (@{ $items}) {
<%= $item %>
% }
@@ -160,11 +161,18 @@
@@ index.html.ep
% foreach my $file (@{ $files }) {
-<%== $file %>
+% my ($basename) = $file =~ /^(.*?)(?:\.[^\.]+)?$/xms;
+<%= $file %>
% }
@@ list.html.ep