]> oss.titaniummirror.com Git - webber.git/blobdiff - in/plugins/hierarchy.md
Merge branch 'upstream'
[webber.git] / in / plugins / hierarchy.md
index a7b6bf1822f866dcac4e06f70d783f7fa7ffafa3..f2b42ec3dfd1844e36a89ed1609bfab48ce21d57 100644 (file)
@@ -1,6 +1,7 @@
 title: Generate hierarchy
 linktitle: hierarchy.py
 parent: Plugins
+lang: en
 ctime: 2009-06-26
 mtime: 2009-06-26
 
@@ -98,7 +99,7 @@ template uses the function "`get_sidemenu()`" which returns (level,
 part_of_path, is_current, title, link) tuples. Again all links are relative
 to the calling page.
 
-* "`level`" is the indendation level, starting with 0. You can use this for
+* "`level`" is the indentation level, starting with 0. You can use this for
   CSS "`id=`" or "`class`" attributes
 * "`part_of_path`" is a flag telling you if the mentioned page is part
   of your path, i.e. if the specified page is in the breadcrumbs.
@@ -146,7 +147,7 @@ To generate a site map for your whole project, do something like
 this:
 
        <%
-         site = get_sitemap()
+         site = get_linear_sitemap()
        %>
        <ul>
        % for level, page, link in site:
@@ -159,7 +160,7 @@ normal "`<ul>..<li><ul><li></li></ul>..</il>`" style, you'd could do this
 with some more advanced Mako template magic:
 
        <%
-         site = get_sitemap()
+         site = get_linear_sitemap()
          lvl = -1
        %>
        % for level, page, link in site: