-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
40 lines (32 loc) · 1.13 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
---
layout: post_list
body_class: "home-template user"
---
{% for post in paginator.posts %}
<article class="{%comment%}post_class{%endcomment%}">
{% if post.image %}
<div class="image-holder show">
<a href="{{ post.url | prepend: site.baseurl }}" class="inner" style="background-image: url('{{ site.baseurl }}/images/{{ post.image }}');">
<img src="{{ site.baseurl }}/images/{{ post.image }}">
</a>
</div>
{% endif %}
<div class="meta">
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">
{{ post.date | date: "%B %-d, %Y" }}
</time>
</div>
<header>
<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
</header>
<div class="text">
<p>{{ post.excerpt | strip_html | truncatewords: 50 }}</p>
<a href="{{ post.url | prepend: site.baseurl }}" class="readmore">Continue Reading</a>
<div class="meta">
{% for tag in post.tags %}
<span><a href="{{ site.baseurl }}/tag.html#{{ tag }}">#{{ tag }}</a>
{% endfor %}
</div>
</div>
</article>
{% endfor %}