micro navigation

Tino Wildenhain tino at wildenhain.de
Mon Apr 2 03:12:37 EDT 2001


Hi Oliver,

Oliver Vecernik wrote:
> 
> Hi,
> 
> I'd like to add a micro navigation to my homepage. Actually there should
> be links to the title of the index.html pages. For example:
> 
> Home / Products / Hardware /
> 
> It's not a problem to generate a dict with the path as key and the title
> as value. But what is the easiest way to build the path? Is there a
> module to step up the path (html/products/hardware/index.html)?

You could put a touple into the dictionary containing both the 
title and the name of the docment.
NB: linking to "index.html" is a bit ugly ;) index.html is the
default document and schould be linked to as /foldername/


Regards
Tino




More information about the Python-list mailing list