forked from bytemaster/bytemaster.github.io
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
executable file
·40 lines (35 loc) · 1.09 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
---
layout: default
---
<div class="profile">
{% if site.logourl != "" %}<img src="{{ site.logourl }}" class="profileimage" alt="user">{% endif %}
<h4>{{ site.title }}</h4>
<p>{{ site.description }}</p>
<hr>
</div>
<section class="posts postindex wrapper">
{% for post in paginator.posts %}
<article class="post {% if post.featured == true %} featured {% endif %}">
<header>
<div class="feature"><span>Featured</span><i class="fa fa-bookmark fa-lg"></i></div>
<!-- <h2>
{% for category in post.categories %}
{{ category }}
{% endfor %}
</h2>-->
<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
<span>
Posted on <i class="fa fa-clock-o"></i><time datetime="{{ post.date | date: "%Y-%m-%d" }}">{{ post.date | date: "%B %-d, %Y" }}</time>.
</span>
<div class="excerpt">
{% if post.content contains '<!--more-->' %}
{{ post.content | split:'<!--more-->' | first }}
{% else %}
{{ post.excerpt }}
{% endif %}
</div>
</header>
</article>
{% endfor %}
{% include pagination.html %}
</section>