zodiac/example/site/helpers.awk
2011-09-22 11:28:24 -04:00

14 lines
228 B
Awk

{ 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
}