mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-02-12 03:50:55 +00:00
Fixed links in category page
This commit is contained in:
@ -9,15 +9,17 @@ layout: layout
|
|||||||
<div class="category-post row">
|
<div class="category-post row">
|
||||||
{% if post.image != nil %}
|
{% if post.image != nil %}
|
||||||
<div class="col-sm-3 center-fill-container img-container">
|
<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>
|
||||||
<div class="col-sm-9 details">
|
<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>
|
<p class="tag">{{ post.excerpt }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% else %}
|
{% else %}
|
||||||
<div class="col-sm-12 details">
|
<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>
|
<p class="tag">{{ post.excerpt }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@ -432,6 +432,7 @@ a {
|
|||||||
&:hover{
|
&:hover{
|
||||||
color: #2c45cc;
|
color: #2c45cc;
|
||||||
border-bottom: 1px solid #2c45cc;
|
border-bottom: 1px solid #2c45cc;
|
||||||
|
text-decoration: none;
|
||||||
@include transition(all, 0.2s, ease-in);
|
@include transition(all, 0.2s, ease-in);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user