I'm hoping this is a
simple question to answer, but I've spent quite a bit of time reading through
the docs and searching the list archives (which isn't especially easy) without
success.
I've been using the
Template Toolkit for a year or so to build a few simple, mostly static
websites. I'm creating a new site that has each section in its own
sub-directory, and I'd like to set some standard meta-data on each template
based on the path to the template file. For example, I'd like to set a
'section' variable to the sub-directory for the given template file. How
do I access more than just 'name' and 'modtime' for the current template?
I'm guessing more info is available, I just don't know how to access
it.
Thanks!
Dustin
