swerc

anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log | Files | Refs | README

commit 937c28ebef8381ab1bf5836702330d2eac157ac6
parent 530f3638b73b9e73aafa20cc168bafd7d5e331ab
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sun, 28 Dec 2008 23:44:03 +0100

Update template to use new variable names.
Diffstat:
Mlib/default_master.tpl | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/default_master.tpl b/lib/default_master.tpl @@ -26,7 +26,7 @@ gensidebar %} </div> -% if (! ~ $#wiki 0 && test -f $body.md && check_user $wiki_editors_group) { +% if (! ~ $#wiki 0 && test -f $local_path.md && check_user $wiki_editors_group) { <div> <form action="/_apps/dirdir/edit" method="POST"> <input type="hidden" name="edit_wiki_page" value="%($req_path%)" /> @@ -47,7 +47,7 @@ gensidebar % if (! ~ $#allowComments 0) { %{ -cdir = $body.md_werc/comments +cdir = $local_path.md_werc/comments if (test -d $cdir) { echo '<hr /><h2>Comments</h2>' for(c in `{ls $cdir/}) {