]> git.plutz.net Git - busy/blobdiff - templates/Wiki_show.page
sorted out text designs
[busy] / templates / Wiki_show.page
index 87e848f805e9d7b588240d1e5c415f3c031dd682..cfe86e4323dc480ce6208c93f441e385202813c9 100755 (executable)
@@ -3,8 +3,7 @@
 list_comments() {
   base="$1"
   
-  stat -c '' Wiki/${base}.comment.<0000000001-9999999999>_<000-999> \
-  && for each in $(ls -c Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do
+  for each in $(ls -r Wiki/${base}.comment.<0000000001-9999999999>_<000-999>); do
     author=$(grep -m1 '^author=' "$each" |cut -d= -f2-)
     echo "<div class='comment'><h1>$author wrote:</h1><div class='wikitext'>"
     tail -n+2 $each |_wiki
@@ -68,7 +67,7 @@ cat <<WikiEND
     </div>
     <div id="MAIN">
       <div class="wiki"><div class="wikitext">
-        <h1>$title</h1>
+        <h1 class="wikihead">$title</h1>
         $(_wiki Wiki/"${info}${rev}")
       </div></div>
     </div>