Include story title in title tag, if present
This commit is contained in:
parent
4af1f88bce
commit
90dae278eb
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||||
|
|
Loading…
Add table
Reference in a new issue