-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·44 lines (36 loc) · 1.29 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
---
layout: default
body_class: "home-template user"
---
{% include header.html %}
<div class="page-content">
<div class="wrapper">
<div class="home">
{% 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 }}/content/images/{{ post.image }}');">
<img src="{{ site.baseurl }}/content/images/{{ post.image }}">
</a>
</div>
{% endif %}
<div class="meta">
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.date | date: "%B %-d, %Y" }}</a>
</time>
</div>
<header>
<h1><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></h1>
</header>
<div class="text">
<p>{{ post.excerpt }}</p>
<a href="{{ post.url | prepend: site.baseurl }}" class="readmore">Continue Reading</a>
</div>
</article>
{% endfor %}
</div>
</div>
</div>
{% include pagination.html %}
{% include footer.html %}