diff --git a/lib/default_master.tpl b/lib/default_master.tpl index fa091d3..89d0c15 100644 --- a/lib/default_master.tpl +++ b/lib/default_master.tpl @@ -26,7 +26,7 @@ gensidebar %} -% 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) {
@@ -47,7 +47,7 @@ gensidebar % if (! ~ $#allowComments 0) { %{ -cdir = $body.md_werc/comments +cdir = $local_path.md_werc/comments if (test -d $cdir) { echo '

Comments

' for(c in `{ls $cdir/}) {