~kris/9p

krisyotam.net

ref: 72f729adb07477a9fa8e0f15e542e8c39b19dc75 krisyotam.net/apps/wman/page_list.tpl -rwxr-xr-x 292 bytes
72f729ad — Kris Yotam rename to krisyotam.net, update site title, footer quote, tighten subtitle spacing 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
% d=`{wman_get_section_desc $wman_cat} 
<h1>Manual pages - Section %($wman_cat%): %($"d%)</h1>

<ul style="float:left">
%{
wman_ls_pages $wman_cat_path \
    | awk -F/ '{ print "<li><a href=\""$(NF)"\">"$(NF)"</a></li>" }
    NR%20 == 0 { print "</ul><ul style=\"float: left\">" }'
%}
</ul>