mirror of
https://github.com/WatchOutNewsAgency/wona.github.com.git
synced 2026-01-01 01:16:26 +00:00
Fixed links in category page
This commit is contained in:
@ -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 %}
|
||||
|
||||
@ -432,6 +432,7 @@ a {
|
||||
&:hover{
|
||||
color: #2c45cc;
|
||||
border-bottom: 1px solid #2c45cc;
|
||||
text-decoration: none;
|
||||
@include transition(all, 0.2s, ease-in);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user