shithub: werc

Download patch

ref: aa813d0156b8773cc30483947cdaa1329e96ebed
parent: 79277bf160a02edbdb4a8b621bc0b94bf9d6de57
author: Uriel <u@berlinblue.org>
date: Thu Oct 29 05:47:53 EDT 2009

Display only 20 entries per column in man page listings, this avoids scrillbars most of the time.

--- a/apps/wman/page_list.tpl
+++ b/apps/wman/page_list.tpl
@@ -5,7 +5,7 @@
 %{
 wman_ls_pages $wman_cat_path \
     | awk -F/ '{ print "<li><a href=\""$(NF)"\">"$(NF)"</a></li>" }
-    NR%28 == 0 { print "</ul><ul style=\"float: left\">" }'
+    NR%20 == 0 { print "</ul><ul style=\"float: left\">" }'
 %}
 </ul>
 
--