-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·60 lines (58 loc) · 2.03 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
---
layout: default
title: Home
---
<div class="posts">
{% for post in paginator.posts %}
<div class="post">
<h1 class="post-title">
<a href="{{ post.url }}">
{{ post.title }}
{% if post.subtitle %}
<p class="post-subtitle">
{{ post.subtitle }}
</p>
{% endif %}
</a>
</h1>
<div class="post-info">
<div class="post-info-detail">
<span class="post-date">Posted by {{ post.author }} on {{ post.date | date: "%B %-d, %Y" }}</span>
<span class="fa-stack fa-sm">
<i class="fa fa-tags fa-stack-1x"></i>
</span>
Tags :{% for tag in post.tags %} <a class="tag-wrapper" href="/tags/{{ tag }}" rel="tooltip" title="View posts tagged with "{{ tag }}""><span class="tags">{{ tag }}</span></a> {% if forloop.last != true %} {% endif %} {% endfor %}
<div class="comment-count">
<span class="fa-stack fa-sm">
<i class="fa fa-comments fa-stack-1x"></i>
</span>
<a href="https://yungshenglu.github.com{{ post.url }}#disqus_thread" data-disqus-identifier="{{ post.url }}"></a>
</div>
</div>
<div
class="fb-like social-plugins"
data-href="https://nckuacm.github.io/nckuacm_notes/{{post.url}}"
data-layout="button"
data-action="like"
data-share="true">
</div>
</div>
</div>
{% endfor %}
</div>
<div class="pagination">
{% if paginator.next_page %}
<a class="pagination-item older" href="{{ site.baseurl }}page{{paginator.next_page}}">Older Posts</a>
{% else %}
<span class="pagination-item older">Older Posts</span>
{% endif %}
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="pagination-item newer" href="{{ site.baseurl }}">Newer Posts</a>
{% else %}
<a class="pagination-item newer" href="{{ site.baseurl }}page{{paginator.previous_page}}">Newer Posts</a>
{% endif %}
{% else %}
<span class="pagination-item newer">Newer Posts</span>
{% endif %}
</div>