constance

Scripts for generating (an earlier obsolete version of) my personal web site
git clone https://code.djc.id.au/git/constance/
commit 6083eb61738d1111b46e2f53462ea8c86d28d652
parent cc4cbb4a1b8b5005b81eae3a288c6ca50f2fb144
Author: Dan Callaghan <djc@djc.id.au>
Date:   Wed,  3 Sep 2008 10:48:35 +1000

belongs with e288b51ac130

Diffstat:
Mviewutils.py | 5-----
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/viewutils.py b/viewutils.py
@@ -10,11 +10,6 @@ def mini_markdown(s):
     the_p, = re.match(u'<p>(.*)\n</p>', m).groups()    
     return genshi.Markup(the_p)
 
-def category_list(categories):
-    return genshi.Markup(u', ').join(
-            genshi.Markup(u'<a href="%s/+categories/%s">%s</a>' % (config.REL_BASE, category, category)) 
-            for category in categories)
-
 def tag_list(tags):
     return genshi.Markup(u', ').join(
             genshi.Markup(u'<a rel="tag" href="%s/+tags/%s">%s</a>' % (config.REL_BASE, tag, tag))