-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (48 loc) · 1.57 KB
/
Copy pathindex.html
File metadata and controls
59 lines (48 loc) · 1.57 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
layout: home
---
<div class="row">
<div class="small-12 large-7 columns">
{% for post in site.posts limit:1 %}
<a href="{{ post.url | prepend: site.baseurl }}">
<h3>{{ post.title }}</h3>
</a>
<h4>
<small>
{% include templates/format_date.html post_date=post.date %}
</small>
</h4>
{% for category in post.categories %}
{% include templates/tag.html tag=category%}
{% endfor %}
<div class="separator"></div>
{{ post.content }}
<h5>
<a href="{{ post.url | prepend: site.baseurl }}" class="button small radius">
Read full article</a>
</h5>
{% endfor %}
</div>
<div class="small-12 large-4 large-offset-1 columns panel about-me">
{% for p in site.html_pages %}
{% if p.url == '/about/' %}
<a href="{{ p.url | prepend: site.baseurl }}">
<h3>{{ p.title }}</h3>
</a>
<div class="separator"></div>
{% if p.excerpt %}
{{ p.excerpt }}
{% elsif p.content contains "<!-- more -->" %}
{{ p.content | split:'<!-- more -->' | first }}
{% else %}
{{ p.content | strip_html | truncatewords:100 }}
{% endif %}
<p class="read-about-me">
<a href="{{ p.url | prepend: site.baseurl }}">Read more...</a>
</p>
{% endif %}
{% endfor %}
</div>
</div>
<div class="separator"></div>
{% include templates/read_more_articles.html show=3 skip=1 currentUrl=page.url %}