I'm trying to update the copyright year in my sites footer dynamically by simply echoing the current year using the $Now var like this:
$Now.format(Y)
I'm using the $Now var in my my Footer.ss file which is an included file from the templates/includes folder, on multiple pages by means of a public function call from the Pages.php controller.
The $now var doesn't seem to work when the template is called as an include, but it works fine if I just use it in the template that's calling the include.
Any ideas are appreciated.
Chris.b