On 07/09/2010, at 21:57, Sam Gandhi wrote: > What I wanted to find out is there way to insert header/footer > contents for every file that is served out by cherokee web server. > > I know if I had static HTML files I could use the server-side includes > and specify things <!--#include virtual="banner.html" --> but is > there such a thing I can include while browsing the directory > structure?
You can write a dirlist theme. Cherokee installs three by default, but you can create as many as you want. Simply, copy one of the directories with another name, and customize it to fit your needs. The theme directories are located under $prefix/share/cherokee/themes, usually /usr/share/cherokee/themes. -- Octality http://www.octality.com/ _______________________________________________ Cherokee mailing list [email protected] http://lists.octality.com/listinfo/cherokee
