view static/tpl/special-orphans.html @ 71:1d004c53f2b2

Changed layout for orphaned pages.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 27 Feb 2013 07:06:35 -0800
parents 8250c977bc50
children b03f083c3a29
line wrap: on
line source

<article class="row">
    <div class="page special span12">
        <h1>Orphaned Pages</h1>
        <p>The following pages are not linked to by any other page in the wiki.</p>
        <p><span class="label label-info">Note</span> The main page can occasionally show up here but that's OK since it's the page visitors will see first anyway.</p>
        {{#if orphans}}
        <ul>
        {{#each orphans}}
        <li><a href="/#/read/{{meta.url}}">{{meta.title}}</a></li>
        {{/each}}
    </ul>
        {{else}}
        <p>No orphaned pages!</p>
        {{/if}}
    </div>
</article>