Fix blog post listing

This commit is contained in:
Gergely Polonkai 2016-06-28 13:05:17 +02:00
parent 8b88d64804
commit 1652d23322
1 changed files with 4 additions and 4 deletions

View File

@ -1,15 +1,15 @@
<article class="{% if layout.post_listing %}col-sm-5 col-md-6 {% endif%}post">
{% if layout.post_listing %}
<article class="{% if page.post_listing %}col-sm-5 col-md-6 {% endif%}post">
{% if page.post_listing %}
<ul class="list-inline">
<li class="col-md-8">
{% endif %}
<header class="post-header">
<h3>
{% if layout.post_listing %}
{% if page.post_listing %}
<a href="{{post.url | prepend: site.baseurl}}">
{% endif %}
{{post.title}}
{% if layout.post_listing %}
{% if page.post_listing %}
</a>
{% endif %}
{% if layout.render_post %}