Permalink
Fetching contributors…
Cannot retrieve contributors at this time
45 lines (42 sloc) 1.3 KB
---
layout: default
---
<div class="home-content">
<div class="jumbotron first-post">
{% assign first = site.posts[0] %}
<h1>
<a class="muted-link" href="{{ first.url | prepend: site.baseurl }}">{{ first.title }}</a>
</h1>
<hr class="h-splitter" />
<div>
{% if first.synopsis %}{{ first.synopsis }}{% else %}{{ first.excerpt }}{% endif %}
</div>
<a href="{{ first.url | prepend: site.baseurl }}">Continue reading...</a>
</div>
<div class="row">
{% for post in site.posts limit:6 offset:1 %}
{% if forloop.index0 == 3 %}
</div>
<div class="row">
{% endif %}
<div class="col-md-4 latest-post">
<div class="panel panel-default">
<div class="panel-body">
<h3>
<a class="muted-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h3>
<hr class="h-splitter" />
<div>
{% if post.synopsis %}{{ post.synopsis }}{% else %}{{ post.excerpt }}{% endif %}
</div>
</div>
<ul class="list-group">
<li class="list-group-item">
<a href="{{ post.url | prepend: site.baseurl }}">Continue reading...</a>
</li>
</ul>
</div>
</div>
{% endfor %}
</div>
</div>