patch for dirlisting.extra-head confvar
As shown in the forums, you can add extra xhtml directives in the <head> element, but it's an ugly hack of the dirlisting.external-css confvar.
dirlisting.extra-head adds a cleaner and simpler way to do this. The variable, if specified, points to a file containing some text Lighty will dump at the end of the <head> element.
Note that at this point the given path isn't relative to the document root. It's an absolute path. Making it relative to the current virtual host's document root would allow to have virtual hosts specific files, but this is far beyond my current knowledge of Lighty's source code :-)
Also available in: Atom