Fix blog post listing

This commit is contained in:
Gergely Polonkai 2016-06-28 13:05:17 +02:00
parent 8b88d64804
commit 1652d23322

View File

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