-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathindex.html
35 lines (33 loc) · 1.06 KB
/
index.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
---
layout: default
---
{% include latest-news-bar.html %}
<div class="wrapper">
<table class="toc-table">
<thead>
<tr>
<th colspan="4"><a href="{{ site.baseurl }}/index_reverse.html">⇅ Reverse Sort ⇅</a></th>
</tr>
</thead>
<tbody>
{% assign episodes = site.posts | where: "categories", "episode" | reverse %}
{% for post in episodes %}
<tr>
{% assign url = post.url | prepend: site.baseurl %}
<td class="ep-number"><a href="{{ url }}">{{ post.episode_number | escape }}</a></td>
<td class="ep-title"><a href="{{ url }}">{{ post.episode_title | escape }}</a></td>
<td class="ep-status">
{%- if post.trailer %}<a class="trailer" href="{{ url }}">TRAILER</a> {% endif -%}
{%- if post.unofficial %}<a class="unofficial" href="{{ url }}">UNOFFICIAL</a> {% endif -%}
</td>
<td class="ep-date"><a href="{{ url }}">{{ post.date | date: "%Y-%m-%d" }}</a></td>
</tr>
{% endfor %}
</tbody>
<tfoot>
<tr>
<td colspan="4"><a href="{{ site.baseurl }}/index_reverse.html">⇅ Reverse Sort ⇅</a></td>
</tr>
</tfoot>
</table>
</div><!-- /div.wrapper -->