-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy patharchive.handlebars
33 lines (29 loc) · 1.39 KB
/
archive.handlebars
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
{{#if prev}}
<div id="nav" class="archive top">
<a href="/archive/{{prev.time}}/" title="previous page of strips (←)" id="prev" class="nav-prev"><i class="icon-left-open icon"></i> Previous page of strips</a>
<a href="/archive/" class="strip-archive" title="Strip Archive (a)">archive</a>
<a href="/top/" alt="!suck" class="top-strips" title="!suck (t)">!suck</a>
<a href="/random/" alt="random strip" class="random" title="Random Strip (r)">.ayp me</a>
</div><!--#nav.archive top-->
{{/if}}
<div id="page" class="page-archive">
{{#each archive}}
<div id="comic" class="archive">
<a href="{{ comicUrl this.time }}" title="{{ this.time }}">
<img src="{{ this.url }}" alt="{{ this.time }}" />
</a>
</div><!--#comic.archive-->
<div class="strip-info">
<!-- Strip label goes here. Time otherwise. -->
<span class="label">{{ xmlDate this.time }}</span>
</div><!--.strip-info-->
{{/each}}
</div><!--#page-->
{{#if next}}
<div id="nav" class="archive bottom">
<a href="/archive/" class="strip-archive" title="Strip Archive (a)">archive</a>
<a href="/top/" alt="!suck" class="top-strips" title="!suck (t)">!suck</a>
<a href="/random/" alt="random strip" class="random" title="Random Strip (r)">.ayp me</a>
<a href="/archive/{{next.time}}/" title="next page of strips (→)" id="next" class="nav-next">Next page of strips <i class="icon-right-open icon"></i></a>
</div><!--#nav.archive bottom-->
{{/if}}