split blogs better
This commit is contained in:
parent
c249dbb35d
commit
5ae3fee3fd
1 changed files with 2 additions and 1 deletions
|
@ -98,14 +98,15 @@
|
|||
<section class="bg-primary" id="blog">
|
||||
<div class="container text-center">
|
||||
<h2 class="section-heading">Blog</h2>
|
||||
{% for article in categories|category_find("blog")|limit(4) %}
|
||||
<hr class="light">
|
||||
{% for article in categories|category_find("blog")|limit(4) %}
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<p class="h3"><a href="{{ article.url }}">{{ article.title }}</a></p>
|
||||
<p>{{ article.summary|striptags|e }}</p>
|
||||
</div>
|
||||
</div>
|
||||
<hr class="light">
|
||||
{% endfor %}
|
||||
<a href="/blog/" class="btn btn-primary-dark btn-xl">View all posts</a>
|
||||
</div>
|
||||
|
|
Reference in a new issue