-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
50 lines (47 loc) · 1.65 KB
/
index.html
File metadata and controls
50 lines (47 loc) · 1.65 KB
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
---
layout: default
---
<div class="home">
<div class="latest-entry">
{% assign post = site.posts.first %}
<div class="post-date">
<div class="day">{{ post.date | date: "%-d" }}</div>
<div class="month">{{ post.date | date: "%b/%Y" }}</div>
</div>
<div class="entry-info">
<h1 class="entry-title">
{% assign content = post.content %}
{% if post.title %}
<a href="{{ root_url }}{{ post.url }}">#{{ post.episodeid }}. {{ post.title }}</a>
{% endif %}
</h1>
<div class="post-meta"><a href="{{ post.audiolink }}">下载</a> • <a href="{{ root_url }}{{ post.url }}">评论</a></div>
<audio class="episode-player" controls="" preload="meta">
<source src="{{ post.audiolink }}" />
</audio>
<div class="entry-content">{{ content }}</div>
</div>
</div>
<ul class="post-list">
{% for post in site.posts offset:1 %}
<li>
<div class="post-date">
<div class="day">{{ post.date | date: "%-d" }}</div>
<div class="month">{{ post.date | date: "%b/%Y" }}</div>
</div>
<div class="post-info">
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">#{{ post.episodeid }}. {{ post.title }}</a>
</h2>
<div class="post-meta"><a href="{{ post.audiolink }}">下载</a> • <a href="{{ root_url }}{{ post.url }}">评论</a></div>
<audio class="episode-player" controls="">
<source src="{{ post.audiolink }}" />
</audio>
</div>
<div class="post-summary">
{{ post.excerpt }}
</div>
</li>
{% endfor %}
</ul>
</div>