]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Optionally add indentation to maps
authorSimon McVittie <smcv@debian.org>
Fri, 3 Aug 2012 11:48:46 +0000 (12:48 +0100)
committerSimon McVittie <smcv@debian.org>
Sun, 24 Feb 2013 13:10:24 +0000 (13:10 +0000)
This makes them easier to debug by showing the structure. Sample output
when $spaces is set to 4 spaces:

<div class='map'>
<ul>
    <li>
    <a href="../alpha" class="mapparent">alpha</a>
        <ul>
        <li>
        <a href="../alpha/1" class="mapitem">1</a>
        </li>
        </ul>
    </li>
    <li>
    <a href="../beta" class="mapitem">beta</a>
    </li>
</ul>
</div>


No differences found