patch for pycatagories.py

Carol Spears <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.devel
Message-ID <[email protected]>
this is a silly patch, however it caused me some trouble.  it merely
changes some of the documentation.

thanks
carol
pycatagories.patch (text/plain, 1.1 KB)
? pycatagories.patch
Index: plugins/pycategories.py
===================================================================
RCS file: /cvsroot/pyblosxom/pyblosxom/contrib/plugins/pycategories.py,v
retrieving revision 1.25
diff -p -u -r1.25 pycategories.py
--- plugins/pycategories.py	29 Oct 2005 15:26:56 -0000	1.25
+++ plugins/pycategories.py	29 Oct 2005 19:17:17 -0000
@@ -20,7 +20,7 @@ to close a category and <li> for each it
 
 py["category_start"] = "<ul>"
 py["category_begin"] = "<li><ul>"
-py["category_item"] = r'<li><a href="%(base_url)s/%(category)sindex">%(category)s</a></li>'
+py["category_item"] = r'<li><a href="%(base_url)s/%(category)sindex.%(flavour)s">%(category)s</a></li>'
 py["category_end"] = "</li></ul>"
 py["category_finish"] = "</ul>"
 
@@ -31,7 +31,7 @@ category:
 
 py["category_start"] = ""
 py["category_begin"] = ""
-py["category_item"] = r'%(indent)s<a href="%(base_url)s/%(category)sindex">%(category)s</a> (%(count)d)<br />'
+py["category_item"] = r'%(indent)s<a href="%(base_url)s/%(category)sindex.%(flavour)s">%(category)s</a> (%(count)d)<br />'
 py["category_end"] = ""
 py["category_finish"] = ""
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.