Website Generator -> Template -> Menu | ||||||
|
Text fetched from the index.html files provided by the
writers.
If there is a <hr> right after <body>, then wgen uses everything between the two first <hr> as menu. This means that the writer may put anything but <hr> in the menu. Usually it suffices to use the tags: strong, a, br and p. The menu is searched for in the index.html-file of a directory and copied to every other file in that directory. Before the menu is inserted, a little "magic" is performed: If the link target is of type some_path/index.html, then wgen adds three dots after the link to indicate that selecting this link will change menu. Example<body> <hr> <strong>Tags</strong><br> <a href="title.html">Title</a><br> <a href="menu.html">Menu</a><br> <a href="text.html">Text</a><br> <p> <a href="breadcrumbs.html">Breadcrumbs</a><br> <a href="editor.html">Editor</a><br> <a href="editor_email.html">Editor_email</a><br> <a href="updated.html">Updated</a><br> <a href="url.html">URL</a><br> <p> <strong>Examples</strong><br> <a href="basic_template.html">Basic</a><br> <a href="all_tags_template.html">All tags</a><br> <a href="this_site_template.html">This site</a><br> <hr> <h1>Template</h1> The template file is an ordinary html file containing certain keywords that will be substituted by <strong>wgen</strong>.
Updated monday October 16. 2000 at 07:51 |
|||||