2011-09-22 17:28:24 +02:00
|
|
|
{ helpers = "yes" }
|
|
|
|
|
|
|
|
function load_helpers() {
|
|
|
|
data["page_title"] = page_title()
|
|
|
|
}
|
|
|
|
|
|
|
|
function page_title( title) {
|
2011-10-20 20:29:30 +02:00
|
|
|
if (data["title"]) {
|
|
|
|
title = data["title"] " - " data["site_title"]
|
2011-10-18 07:07:12 +02:00
|
|
|
} else {
|
2011-10-20 20:29:30 +02:00
|
|
|
title = data["site_title"]
|
2011-09-22 17:28:24 +02:00
|
|
|
}
|
2011-10-20 20:29:30 +02:00
|
|
|
return title
|
2011-09-22 17:28:24 +02:00
|
|
|
}
|