===================================================================
RCS file: /cvs/todotxt/Text-Todo/bin/dudelicious.pl,v
retrieving revision 1.14
retrieving revision 1.16
diff -u -r1.14 -r1.16
--- todotxt/Text-Todo/bin/dudelicious.pl 2010/05/01 22:47:51 1.14
+++ 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 %>
% }
@@ -161,11 +162,17 @@
@@ index.html.ep
% foreach my $file (@{ $files }) {
% my ($basename) = $file =~ /^(.*?)(?:\.[^\.]+)?$/xms;
-<%= $file %>
+<%= $file %>
% }
@@ list.html.ep