~kris/9p

krisyotam.net

ref: f269e2c7d5c244d42779b420cd5e3683ef2d58ca krisyotam.net/apps/bridge/comments_list.tpl -rwxr-xr-x 286 bytes
f269e2c7 — Kris Yotam merge: bring emergency backup commit from plan9.krisyotam.com a month ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
<hr>
<h2>Comments</h2>

% for(c in `{ls $comments_dir/}) {
%    if(test -s $c/body) {
        <div class="comment">
            <h5>By: <i>%(`{cat $c/user}%)</i></b> (%(`{cat $c/posted}%))
        </h5>
%       cat $c/body | escape_html | sed 's,$,<br>,'
        <hr></div>
%    }
% }