Include story title in title tag, if present

This commit is contained in:
Hannes Wallnöfer 2001-08-24 11:52:04 +00:00
parent 4af1f88bce
commit 90dae278eb

View file

@ -5,7 +5,9 @@ this.filter();
res.skin = "main"; res.skin = "main";
res.title = "Antville - " + this.weblog.title; res.title = encode (this.weblog.title);
if (this.title)
res.title += " - "+ encode(this.title);
res.head = this.weblog.renderSkinAsString("style"); res.head = this.weblog.renderSkinAsString("style");
res.body = this.weblog.renderSkinAsString("header"); res.body = this.weblog.renderSkinAsString("header");
res.body += this.renderSkinAsString("main"); res.body += this.renderSkinAsString("main");