zodiac/example/site/helpers.awk

14 lines
228 B
Awk
Raw Normal View History

2011-09-22 17:28:24 +02:00
{ helpers = "yes" }
function load_helpers() {
data["page_title"] = page_title()
}
function page_title( title) {
if (data["title"]) {
title = data["title"] " - "
}
title = title data["site_title"]
return title
}