Browse Source

Update index.html

redesign
Anxhelo Lushka 7 years ago
committed by GitHub
parent
commit
aec82aaa0c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      blog/index.html

14
blog/index.html

@ -17,11 +17,11 @@ section_id: blog
<img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image">
</a>
{% else %}
<a href="{{post.url}}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
<a href="{{ post.url | replace:'.html','' }}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
{% endif %}
{% endif %}
<div class="post-content">
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3>
<p class='info'>
{% if post.categories != empty %}
<span>
@ -38,7 +38,7 @@ section_id: blog
</p>
<p>{{post.excerpt}}</p>
<div class="spacing"></div>
<p><a href="{{post.url}}" class="button tiny blue simple boxed">Read more</a></p>
<p><a href="{{ post.url | replace:'.html','' }}" class="button tiny blue simple boxed">Read more</a></p>
</div>
</div>
{% endif %}
@ -51,16 +51,16 @@ section_id: blog
<div class="post alt">
{% if post.images %}
{% if post.images.size > 1 %}
<a href="{{post.url}}" class='two-images'>
<a href="{{ post.url | replace:'.html','' }}" class='two-images'>
<img src="{{site.url}}/{{post.images[0]}}" alt="post" class="left-image">
<img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image">
</a>
{% else %}
<a href="{{post.url}}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
<a href="{{ post.url | replace:'.html','' }}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
{% endif %}
{% endif %}
<div class="post-content">
<h3><a href="{{post.url}}">{{post.title}}</a></h3>
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3>
<p class='info'>
{% if post.categories != empty %}
<span>
@ -77,7 +77,7 @@ section_id: blog
</p>
<p>{{post.excerpt}}</p>
<div class="spacing"></div>
<p><a href="{{post.url}}" class="button tiny blue simple boxed">Read more</a></p>
<p><a href="{{ post.url | replace:'.html','' }}" class="button tiny blue simple boxed">Read more</a></p>
</div>
</div>
{% endif %}

Loading…
Cancel
Save