1
Fork 0

split blogs better

This commit is contained in:
Jake Howard 2017-01-18 21:29:22 +00:00
parent c249dbb35d
commit 5ae3fee3fd

View file

@ -98,14 +98,15 @@
<section class="bg-primary" id="blog"> <section class="bg-primary" id="blog">
<div class="container text-center"> <div class="container text-center">
<h2 class="section-heading">Blog</h2> <h2 class="section-heading">Blog</h2>
{% for article in categories|category_find("blog")|limit(4) %}
<hr class="light"> <hr class="light">
{% for article in categories|category_find("blog")|limit(4) %}
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<p class="h3"><a href="{{ article.url }}">{{ article.title }}</a></p> <p class="h3"><a href="{{ article.url }}">{{ article.title }}</a></p>
<p>{{ article.summary|striptags|e }}</p> <p>{{ article.summary|striptags|e }}</p>
</div> </div>
</div> </div>
<hr class="light">
{% endfor %} {% endfor %}
<a href="/blog/" class="btn btn-primary-dark btn-xl">View all posts</a> <a href="/blog/" class="btn btn-primary-dark btn-xl">View all posts</a>
</div> </div>