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">
|
<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>
|
||||||
|
<hr class="light">
|
||||||
{% for article in categories|category_find("blog")|limit(4) %}
|
{% for article in categories|category_find("blog")|limit(4) %}
|
||||||
<hr class="light">
|
|
||||||
<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>
|
||||||
|
|
Reference in a new issue