view static/tpl/read-page.html @ 149:d29e2f337b00

Updated to Bootstrap 3.0.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 12 Dec 2013 21:54:04 -0800
parents 74eb145eb839
children
line wrap: on
line source

<article>
    {{#ifnot meta.notitle}}
    <header>
        <h1>{{meta.title}}</h1>
        {{#if redirected_from}}
        <small>Redirected from <a href="{{get_read_url redirected_from}}?no_redirect">{{redirected_from}}</a></small>
        {{/if}}
        {{#if meta.redirect}}
        <small>Redirects to <a href="{{get_read_url redirects_to}}">{{redirects_to}}</a></small>
        {{/if}}
    </header>
    {{/ifnot}}
    <section>
        {{content}}
    </section>
    {{#if meta.category}}
    <footer>
        {{#each meta.category}}
        {{#ifeq @index to=0}}Categories: {{else}} | {{/ifeq}}
        <span><a href="{{get_cat_url url}}">{{name}}</a></span>
        {{/each}}
    </footer>
    {{/if}}
</article>