-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (110 loc) · 3.95 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
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
---
layout: landing
homelink: true
---
<div class="home">
<div class="site-header-container {% if site.cover %}has-cover{% endif %}" {% if site.cover %}style="background-image: url({{ site.cover | prepend: site.baseurl }}); overflow: hidden;"{% endif %}>
<div class="scrim {% if site.cover %}has-cover{% endif %}">
<table class="row">
<tr>
<td style="overflow: hidden; position: relative;" class="headerimg">
<!-- <center><img src="{{ site.acover | prepend: site.baseurl }}" class="headerimg"></center> -->
</td>
<td>
<header class="site-header">
<center><h1 class="title" style="padding: 0px 0px;">{{ site.title }}</h1>
{% if site.subtitle %}<p class="subtitle" style="padding: 0px 0px;">{{ site.subtitle }}</p>{% endif %}</center>
<!-- NAVIGATION -->
<center>
<header class="navigation" role="banner">
<div class="navigation-wrapper">
<nav role="navigation" style="float: none;">
<ul class="navigation-menu show">
{% for page in site.pages %}
{% if page.title and page.main_nav != false %}
{% if page.headerlink == true %}
<li class="nav-link"><a href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
{% endif %}
{% endif %}
{% endfor %}
</ul>
</nav>
</div>
</header>
</center>
</header>
</td>
<td style="overflow: hidden; position: relative;" class="headerimg">
<!-- <center><img src="{{ site.bcover | prepend: site.baseurl }}" class="headerimg"></center> -->
</td>
</tr>
</table>
</div>
</div>
</div>
<div class="wrapper">
<ul class="post-list">
{% for post in paginator.posts %}
<li>
{% if post.preview %}
<img src="{{ post.preview }}" class="preview">
{% elsif post.cover %}
<img src="{{ post.cover }}" class="preview">
{% endif %}
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
<section class="post-excerpt" itemprop="description">
<p>{% if post.description %}{{ post.description }}{% else %}{{ post.content | strip_html | truncatewords: 25 }}{% endif %}</p>
</section>
<section class="post-meta">
<div class="post-date">{{ post.date | date: "%B %-d, %Y" }}</div>
</section>
</li>
{% if forloop.last == false %}
<hr>
{% endif %}
{% endfor %}
</ul>
<nav class="pagination" role="navigation">
<p>
{% if paginator.previous_page %}
{% if paginator.page == 2 %}
<a class="newer-posts" href="{% if site.baseurl %}{{ site.baseurl }}{% endif %}/">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<a class="newer-posts" href="{{ site.baseurl }}/page{{paginator.previous_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
</a>
{% endif %}
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-left fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
<span class="page-number">Page {{ paginator.page }} of {{ paginator.total_pages }}</span>
{% if paginator.next_page %}
<a class="newer-posts" href="{{ site.baseurl }}/page{{paginator.next_page}}">
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
</a>
{% else %}
<span class="fa-stack fa-lg">
<i class="fa fa-square fa-stack-2x"></i>
<i class="fa fa-angle-double-right fa-stack-1x fa-inverse"></i>
</span>
{% endif %}
</p>
</nav>
</div>
</div>