~acdw/old-blog-content

old-blog-content/templates/_sidenav.html -rw-r--r-- 1.2 KiB
fe27705eCase Duckworth Add poem 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<a href="/" rel="me" id="logo-container">
    <header class="logo"><h1>acdw</h1></header>
</a>
<nav class="snav">
    $if(is-post)$
    <ul class="others">
        <div class="lgroup">
        $if(next-post)$
        <li><a title="older" href="$next-post$" class="navlink">
                &#x21d0;&nbsp;older</a></li>
        $else$
        <li><span class="navlink">(oldest)</span></li>
        $endif$
        $if(prev-post)$
        <li><a title="newer" href="$prev-post$" class="navlink">
                newer&nbsp;&#x21d2;</a></li>
        $else$
        <li><span class="navlink">(newest)</span></li>
        $endif$
        </div>
        <div class="lgroup">
        $if(group)$
        <li><a href="/$group$/">other&nbsp;$pluralize(group)$</a></li>$endif$
        <li><a href="/archive/">other&nbsp;posts</a></li>
        $if(source)$
        </div>
        <div class="lgroup">
        <li><a href="$source$">source</a></li>$endif$
        </div>
    </ul>
    $else$
    $partial("templates/_pagenav.html")$
    $endif$
    $if(tags)$
    <section class="atags">
        <header>tags</header>
        <ul>
            $tags$
        </ul>
    </section>
    $endif$
</nav>