More wman updates, new search functionality and handle better corner cases.

This commit is contained in:
Uriel 2009-03-13 10:51:07 +00:00
parent 8488a0b651
commit 3836ee8f56
3 changed files with 23 additions and 6 deletions

View file

@ -3,8 +3,7 @@
<ul style="float:left">
%{
ls -F $wman_cat_path \
| sed $dirfilter^' /(\/INDEX|\.html)$/d; s/\.([0-9]|9p)$//; s!/0intro$!/intro!' \
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\">" }'
%}