-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
82 lines (73 loc) · 2.94 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
layout: base
---
<div class="post-list">
{% for post in site.posts limit:1 %}
<div class="featured-ep">
<small>ep.{{ post.number }} <span class="grey-color">⟡</span> {{ post.date | date: "%m.%-d.%Y" }}</small>
<h2><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
<iframe frameborder='0' height='36px' scrolling='no' seamless src='https://simplecast.com/e/{{ post.simplecast-src }}?style=dark' width='100%'></iframe>
{{ post.excerpt }}
<small><a href="{{ post.url | prepend: site.baseurl }}">view show notes →</a></small>
<ul class="post-tag-list">
{% for tag in post.tags %}
<li class="inline archive_list"><a class="tag_list_link" href="/tag/{{ tag }}">{{ tag }}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">‹</a>
{% else %}
<span>‹</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="active-page">{{ page }}</span>
{% elsif page == 1 %}
<a href="/">{{ page }}</a>
{% else %}
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">›</a>
{% else %}
<span>›</span>
{% endif %}
</div>
{% endif %}
{% for post in paginator.posts offset:1 %}
<div class="all-eps">
<small>ep.{{ post.number }} <span class="grey-color">⟡</span> {{ post.date | date: "%m.%-d.%Y" }}</small>
<h2><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h2>
{{ post.excerpt }}
<small><a href="{{ post.url | prepend: site.baseurl }}">view show notes →</a></small>
</div>
{% endfor %}
{% if paginator.total_pages > 1 %}
<div class="pagination">
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">‹</a>
{% else %}
<span>‹</span>
{% endif %}
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<span class="active-page">{{ page }}</span>
{% elsif page == 1 %}
<a href="/">{{ page }}</a>
{% else %}
<a href="{{ site.paginate_path | prepend: site.baseurl | replace: '//', '/' | replace: ':num', page }}">{{ page }}</a>
{% endif %}
{% endfor %}
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">›</a>
{% else %}
<span>›</span>
{% endif %}
</div>
{% endif %}
</div>