Fixed links in category page

This commit is contained in:
Asutosh Palai
2016-07-06 03:06:49 -04:00
parent b83f7e611d
commit ab77f30d51
2 changed files with 6 additions and 3 deletions

View File

@ -9,15 +9,17 @@ layout: layout
<div class="category-post row">
{% if post.image != nil %}
<div class="col-sm-3 center-fill-container img-container">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill {% if post.image == null %}hidden{% endif %}">
<a href="{{ post.url }}">
<img src="/images/posts/{{post.image}}" alt="" class="img-center-fill {% if post.image == null %}hidden{% endif %}">
</a>
</div>
<div class="col-sm-9 details">
<h3 class="title">{{ post.title}}</h3>
<h3 class="title"><a href="{{ post.url }}">{{ post.title}}</a></h3>
<p class="tag">{{ post.excerpt }}</p>
</div>
{% else %}
<div class="col-sm-12 details">
<h3 class="title">{{ post.title}}</h3>
<h3 class="title"><a href="{{ post.url }}">{{ post.title}}</a></h3>
<p class="tag">{{ post.excerpt }}</p>
</div>
{% endif %}

View File

@ -432,6 +432,7 @@ a {
&:hover{
color: #2c45cc;
border-bottom: 1px solid #2c45cc;
text-decoration: none;
@include transition(all, 0.2s, ease-in);
}
}