<!-- Name: Displays a top menu -->

<nav class="topmenu">
    <a href="<?php printSiteUrl ( ) ?>"   > Home              </a>
    <a href="<?php printSiteUrl ( ) ?>toc"> Table Of Contents </a>

    <?php
        /**
         * -----------------------------------------------------------------
         *
         * Display administrator buttons.
         *
         * -----------------------------------------------------------------
         */

        if ( helperAmIAdmin ( ) ) {
            $url  = mimimiUri ( FALSE );
            $html = helperLoadPage ( $url );
            mimimiModule ([ 'snippets/editor-tools.tpl', $html ]);
        }
    ?>
</nav>
