How do I find out the dir of the current template?

The template object only gives me name and modtime...

And there is no example of it in the File plugin.  But state in the
first paragraph:

   This plugin provides an abstraction of a file. It can be used to
   fetch details about files from the file system, or to represent
   abstract files (e.g. when creating an index page) that may or may
   not exist on a file system.

And an index page was exaclty what I intended to do...

The fist thing i tried was template.dir ... And then:

 [% USE File(template.name) %]

And that didn't work either.  Incompatible search paths maby.


-- 
/ Jonas  -  http://jonas.liljegren.org/myself/en/index.html


Reply via email to