view docs/templates/inc/nav.html @ 444:2f68a463cb06

cm: Replace Grunt/RequireJS with Gulp/Browserify. Yes, I know, this sounds like it's 2014 or something, and cool kids are now actually on webpack or whatever. Anyway, besides the change to a `gulpfile`, it also moves all dependencies over to `npm` (via the `package.json` file), which cleans up the repository nicely, and replaces awkward JS imports with simpler `require` statements.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 03 Jan 2018 00:51:59 -0800
parents 3a61f45702cb
children
line wrap: on
line source

<a id="wiki-menu-shortcut" class="wiki-logo">
    <span>W</span>
</a>
<nav id="wiki-menu" role="navigation" class="pure-menu pure-menu-open">
    <ul class="pure-menu-list">
        {% for p in family.root %}
        <li class="pure-menu-item">
        <a class="pure-menu-link" href="{{p.url}}">
        {%- if p.icon %}<i class="fa fa-{{p.icon}} fa-fw"></i>{% endif %}
        {{p.title}}</a>
        </li>
        {% endfor %}
    </ul>
    <ul class="pure-menu-divider">
    </ul>
</nav>