Add latest posts to other pages

This commit is contained in:
Oliver Davies 2016-12-29 16:32:52 +00:00
parent 3980cfcad3
commit 21fd100515
101 changed files with 101 additions and 12 deletions

View file

@ -1,4 +1,4 @@
{% if page.url == '/.' %}
{% if data.posts and page.url != '/blog' %}
<div class="latest-posts panel panel-default">
<div class="latest-posts__heading panel-heading">Latest blog posts</div>