apps/wman: fix comments and restore template syntax.
This commit is contained in:
parent
0928d102d5
commit
66f39ebe38
2 changed files with 9 additions and 6 deletions
|
|
@ -1,8 +1,11 @@
|
|||
% d=`{wman_get_section_desc $wman_cat}
|
||||
<h1>Manual pages - Section %($wman_cat%): %($"d%)</h1>
|
||||
|
||||
% d=`{wman_get_section_desc $wman_cat}
|
||||
<h1>Manual pages - Section
|
||||
% echo $wman_cat': '$"d2
|
||||
</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\">" }'
|
||||
%{
|
||||
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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue