Re: Flavors not working
Guy Umbright <guy-a6Q28LeZXLxwZnR4rxWNygC/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
I take it I was mistaken that it will pick up the flavor automatically. I think that the .../index.<flav> reference style is exactly what I am looking for as I want to use the same content dir, but will provide some different views of the sub trees. Thank you very much for looking into this for me. On Dec 8, 2003, at 12:46 AM, Wari Wahab wrote: > On Mon, 2003-12-08 at 13:14, Guy Umbright wrote: >> According to the doc, if there is only one set of flavor files in the >> content directory, that should >> be used by default, but that does not seem to be the case, [unless of >> course I am confused, >> which could be a distinct possibility ;) ]. > > :) You should use "py['defaultFlavour'] = 'ks'" to specify that it is > the default one, else it points to 'html'. > (Wari Wahab also sent in a different email which I am including so it is in the mailing list record:) Ok, so http://<mysite>/cgi-bin/pyblosxom.cgi/index.ks works. If you want ks to be your default flavour, you need to put in config.py py['defaultFlavour'] = 'ks' Else the default will look for *.html as flavours > > > > ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/