shithub: werc

Download patch

ref: f62511594ddc6aa9141fcefbbb4338bdbd6a7997
parent: 4196d6c6fd4e9bf066a65e3896c2cb71a647e493
author: uriel <[email protected]>
date: Wed May 30 22:10:25 EDT 2007

Remove all '_' from title

--- a/bin/controller.rc
+++ b/bin/controller.rc
@@ -14,7 +14,7 @@
 body=index
 siteTitle=''
 siteSubTitle=''
-title=Title
+title=''
 template=default
 sidebar=sidebar
 
@@ -22,7 +22,7 @@
 
 if (! ~ $#args 0 && ! ~ $args '') {
     title=$args($#args)
-    title=`{echo $title | sed 's/_/ /' }
+    title=`{echo $title | sed 's/_/ /g' }
     body=`{ echo -n $"args |sed 's, ,/,g' }
 }