Completed post page

This commit is contained in:
Asutosh Palai
2016-06-19 16:18:46 +05:30
parent d5f0d21328
commit a81c945ec7
4 changed files with 45 additions and 20 deletions

View File

@ -6,7 +6,7 @@ title: "Home"
<section id="new-articles" class="row">
{% for post in site.posts limit: 4 offset: 1 %}
<div class="new-article col-sm-3">
<div class="article col-sm-3">
<a href="{{ post.url }}">
<div class="center-fill-container img-container">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill {% if post.image == null %}hidden{% endif %}">