-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubmissions.html
32 lines (31 loc) · 1.1 KB
/
submissions.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
---
layout: mypage
title: 作品展示
---
<h1>
抱歉, 选手作品展示页面正在完善中.
</h1>
{% for rpost in paginator.posts %}
<article class="post fn-clear">
<h2 class="post-title"><a href="/LC2013{{ rpost.url }}" title="{{ rpost.title }}" rel="bookmark">{{ rpost.title }}</a></h2>
<p class="time"><time pubdate="{{ rpost.date }}">{{ rpost.date | date_to_string }}</time></p>
{% if site.indexContent == true %}
{{ rpost.content }}
{% else %}
<p>{{ rpost.description }}</p>
{% endif %}
</article>
{% endfor %}
{% if paginator.total_pages > 1 %}
<nav id="pagination" class="fn-clear">
<ul class="pagination">
{% for page in (1..paginator.total_pages) %}
{% if page == paginator.page %}
<li class="current"><a href="javascript:void(0);">{{ page }}</a></li>
{% else %}
<li><a href="/LC2013/{%if page > 1 %}page{{ page }}/{% endif %}">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
{% endif %}