swerc

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

commit b9178fe0f1a29c1385f7fd5c5cb6603d66a7a902
parent ef9cf301cb990b2bbb45ea337c470de012aac0dc
Author: uriel@engel.se.cat-v.org <unknown>
Date:   Sat,  3 Jan 2009 02:01:42 +0100

Style fixes to default template
Diffstat:
Mlib/default_master.tpl | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/default_master.tpl b/lib/default_master.tpl @@ -13,12 +13,12 @@ </div> </div> -% if (! ~ $#sidebar 0) { +% if(! ~ $#sidebar 0) { <div id="side-bar"> <div> %{ -if (! ~ $#sideBarNavTitle 0) +if(! ~ $#sideBarNavTitle 0) echo '<p class="sideBarTitle">'$"sideBarNavTitle':</p>' gensidebar @@ -26,7 +26,7 @@ gensidebar %} </div> -% if (! ~ $#wiki 0 && test -f $local_path.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%)" /> @@ -44,11 +44,11 @@ gensidebar <div id="main-copy"> % genbody -% if (! ~ $#allowComments 0) { +% if(! ~ $#allowComments 0) { %{ cdir = $local_path.md_werc/comments -if (test -d $cdir) { +if(test -d $cdir) { echo '<hr /><h2>Comments</h2>' for(c in `{ls $cdir/}) { %}