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.

This commit is contained in:
Uriel 2010-01-19 00:30:24 +00:00
parent 7dae66e13e
commit d293f6b635

View File

@ -117,8 +117,8 @@ fn werc_exec_request {
# XXX Is this never true? because we set pageTitle earlier based on url. # XXX Is this never true? because we set pageTitle earlier based on url.
if(~ $"pageTitle '') if(~ $"pageTitle '')
pageTitle=$"siteTitle' '$"siteSubTitle pageTitle=$"siteTitle' '$"siteSubTitle
if not # if not
pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle # pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle
for(h in $extraHttpHeaders) for(h in $extraHttpHeaders)
echo $h echo $h