forked from Snarp/stellar_firma_transcripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_reverse.html
48 lines (38 loc) · 1.42 KB
/
index_reverse.html
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
43
44
45
46
47
48
---
layout: default
---
{% include latest-news-bar.html %}
<div class="table-of-contents">
<div class="wrapper">
<ul>
<li class='ep-sort'><a href="{{ site.baseurl }}/index.html">⇅</a> <a href="{{ site.baseurl }}/index.html">Reverse Sort</a> <a href="{{ site.baseurl }}/index.html">⇅</a></li>
{% assign episodes = site.posts | where: "categories", "episode" | reverse %}
{% for post in episodes %}
<li>
<div class='ep-left'>
<a class='ep-number' href="{{ post.url | prepend: site.baseurl }}">{{ post.episode_number | escape }}</a>
<a class='ep-title' href="{{ post.url | prepend: site.baseurl }}">{{ post.episode_title | escape }}</a>
</div>
{%- if post.trailer %}
<div class='ep-center'>
<a class='ep-status ep-status-trailer' href="{{ post.url | prepend: site.baseurl }}">TRAILER</a>
</div>
{%- endif %}
{%- if post.unfinished %}
<div class='ep-center'>
<a class='ep-status ep-status-incomplete' href="{{ post.url | prepend: site.baseurl }}">INCOMPLETE</a>
</div>
{%- elsif post.unofficial %}
<div class='ep-center'>
<a class='ep-status ep-status-unofficial' href="{{ post.url | prepend: site.baseurl }}">UNOFFICIAL</a>
</div>
{%- else -%}
{%- endif %}
<div class='ep-right'>
<a class='ep-date' href="{{ post.url | prepend: site.baseurl }}">{{ post.date | date: "%Y-%m-%d" }}</a>
</div>
</li>
{% endfor %}
</ul>
</div>
</div>