Mikael's blog

A developers sixth time trying to maintain a blog

Source Code - Root / views / archive.mu
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
{{>header}}
    <section class="comments">
        <header>
            Archive
        </header>
        <section class="archive-navigation">
          {{#nextYear}}<a href="/archive/{{nextYear}}" class="next-year"></a>{{/nextYear}}{{^nextYear}}<span class="next-year no-year"></span>{{/nextYear}}
            {{year}}
            {{#previousYear}}<a href="/archive/{{previousYear}}" class="prev-year"></a>{{/previousYear}}{{^previousYear}}<span class="prev-year no-year"></span>{{/previousYear}}
        </section>
        {{#months}}
        <section class="archivemonth">
            <header>{{name}}, {{year}}</header>
            {{#days}}
            <div class="archivedate">
                <div class="calendar archivecal">
                    <header>{{name}}</header>
                    {{day}}
                </div>
                <div class="archiveposts">
                    {{#posts}}
                    <div class="archivepost">
                        <header><a href="/post/{{readableKey}}">{{{title}}}</a></header>
                        {{outtake}}
                    </div>
                    {{/posts}}
                </div>
            </div>
            {{/days}}
        </section>
        {{/months}}
    </section>
{{>footer}}