-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
89 lines (74 loc) · 2.59 KB
/
index.html
File metadata and controls
89 lines (74 loc) · 2.59 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
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
83
84
85
86
87
88
89
---
layout: default
title: Home
tags: home
categories: blog
---
<div class="posts">
<!-- <!-- Random quote generator --*>
<div class="quoteMain">
<div class="quoteM">
<p class="script"><span id="quote-author"></span></p>
<p id="quote" class="shadow text1"></p>
</div>
<div class="quoteTB" align="right" style="width: 100%;"><img id="quoteI" src="" align="right"></div>
</div>
<script type="text/javascript" src="{{ site.baseurl }}/public/js/quote2.js"></script>
-->
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
</a>
</h1>
<span class="post-date"><i class="fa fa-clock-o"></i>   {{ post.date | date_to_string }}    
<i class="fa fa-tags"></i>
{% for tag in post.tags %}
{% capture tag_name %}{{ tag }}{% endcapture %}
<a href="/tag/{{ tag_name }}"><code class="tag"><nobr>{{ tag_name }}</nobr></code></a>
{% endfor %}
   
<i class="fa fa-sitemap"></i>
{% for category in post.categories %}
{% capture category_name %}{{ category }}{% endcapture %}
<a href="/category/{{ category_name }}"><code class="tag"><nobr>{{ category_name }}</nobr></code></a>
{% endfor %}
</span>
{{ post.excerpt }}
</div>
{% endfor %}
</div>
<!--<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.baseurl }}/blog/page{{paginator.next_page}}">Older</a>
{% else %}
<span class="pagination-item older">Older</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer</a>
{% else %}
<a class="pagination-item newer" href="{{ site.baseurl }}/blog/page{{paginator.previous_page}}">Newer</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer</span>
{% endif %}
</div>-->
<div class="pagination">
<span>
{% if paginator.previous_page %}
<a href="{{ paginator.previous_page_path }}" class="previous"><i class="fa fa-arrow-circle-left"></i></a>
{% else %}
<span class="previous"><i class="fa fa-arrow-circle-left"></i></span>
{% endif %}
</span>
<span style=" font-family: Roboto; font-weight: bold; padding-left: 15px; padding-right: 15px;">{{ paginator.page }} / {{ paginator.total_pages }}</span>
<span>
{% if paginator.next_page %}
<a href="{{ paginator.next_page_path }}" class="next"><i class="fa fa-arrow-circle-right"></i></a>
{% else %}
<span class="next "><i class="fa fa-arrow-circle-right"></i></span>
{% endif %}
</span>
</div>