shithub: werc

Download patch

ref: 860e6d95adf5018e25525adb7166e7a196f6d8d9
parent: afc7c414f820d8ad8722161ac722a747a0f9da2e
author: Uriel <u@berlinblue.org>
date: Mon Jan 18 19:30:24 EST 2010

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.

--- a/bin/werc.rc
+++ b/bin/werc.rc
@@ -117,8 +117,8 @@
     # 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