-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (41 loc) · 1.15 KB
/
index.html
File metadata and controls
42 lines (41 loc) · 1.15 KB
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
---
layout: default
title: Home
order: 1
navlink:
navtitle: home
---
<div class="row rowcustom">
<div class="medium-9 columns">
{% assign counter = 0 %}
{% assign nposts = site.posts | size %}
{% for post in site.posts %}
{% assign counter = counter | plus: 1 %}
{% assign nposts = nposts | minus: 1 %}
<div class="row">
<div class="medium-2 columns">
<h5 class="post-date" align="right">{{ post.date | date: "%e %B %Y" }}</h5>
</div>
<div class="medium-10 columns">
<h2><a class="post-title" href="{{ post.url }}">{{ post.title }}</a></h2>
{{ post.excerpt }}
<a class="sidebar" href="{{ post.url }}">Read more...</a>
{% if nposts > 0 %}<hr>{% else %}<p></p>{% endif %}
<!-- <br /> -->
</div>
</div>
{% endfor %}
{% if counter == 0 %}
<div class="row">
<div class="medium-2 columns"></div>
<div class="medium-10 columns">
<h2>Nothing yet.</h2><br /><br />
<p>Stay tuned though, this site will change your life :-)</p>
</div>
</div>
{% endif %}
</div>
<div class="medium-3 columns">
{% include sidebar %}
</div>
</div>