-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·52 lines (48 loc) · 1.39 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
---
layout: page
---
<div class="index-artical">
<ul class="index-mid"> </ul>
<ul class="index-right">
<br>
{% for rpost in paginator.posts %}
<li>
<h2>
<a href="{{ rpost.url }}">{{ rpost.title }}</a>
</h2>
<span class="title-desc">{{ rpost.description }}</span>
</li>
{% endfor %}
{% if paginator.total_pages > 1 %}
<nav id="pagination">
<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="/{%if page > 1 %}page{{ page }}/{% endif %}">{{ page }}</a></li>
{% endif %}
{% endfor %}
</ul>
</nav>
{% endif %}
</ul>
<!--
<ul class="index-right">
{% for post in site.categories.theme%}
<li>
<h2>
<a href="{{ post.url }}"><img src="{{ post.img }}" width=200 height=120/></a>
</h2>
<span class="title-desc">{{ post.description }}</span>
</li>
{% endfor %}
</ul>
--!>
</div>
<script type="text/javascript">
$(function(){
var height = $('.index-artical').height();
$('.index-mid').height(height-90);
});
</script>