By default don't include the site's title | sub-title in the <title> of pages from which we were able to extract a title. - swerc - anselm's simpler werc fork
 (HTM) git clone git://git.suckless.org/swerc
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 5bac5f151741e5b0c7932b70359664124c969602
 (DIR) parent 2ba9f1fca7ebd62a0e2f71b728dadc49ab93dc00
 (HTM) Author: Uriel <u@berlinblue.org>
       Date:   Tue, 19 Jan 2010 00:30:24 +0000
       
       By default don't include the site's title | sub-title in the <title> of pages from which we were able to extract a title.
       Diffstat:
         M bin/werc.rc                         |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/bin/werc.rc b/bin/werc.rc
       @@ -117,8 +117,8 @@ fn werc_exec_request {
            # XXX Is this never true? because we set pageTitle earlier based on url.
            if(~ $"pageTitle '') 
                pageTitle=$"siteTitle' '$"siteSubTitle
       -    if not
       -        pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle
       +#    if not
       +#        pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle
        
            for(h in $extraHttpHeaders)
                echo $h