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. 16
      blog/index.html

16
blog/index.html

@ -12,16 +12,16 @@ section_id: blog
<div class="post alt"> <div class="post alt">
{% if post.images %} {% if post.images %}
{% if post.images.size > 1 %} {% if post.images.size > 1 %}
<a href="{{post.url | replace:'.html',''}}" 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[0]}}" alt="post" class="left-image">
<img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image"> <img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image">
</a> </a>
{% else %} {% 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 %}
{% endif %} {% endif %}
<div class="post-content"> <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'> <p class='info'>
{% if post.categories != empty %} {% if post.categories != empty %}
<span> <span>
@ -38,7 +38,7 @@ section_id: blog
</p> </p>
<p>{{post.excerpt}}</p> <p>{{post.excerpt}}</p>
<div class="spacing"></div> <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>
</div> </div>
{% endif %} {% endif %}
@ -51,16 +51,16 @@ section_id: blog
<div class="post alt"> <div class="post alt">
{% if post.images %} {% if post.images %}
{% if post.images.size > 1 %} {% 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[0]}}" alt="post" class="left-image">
<img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image"> <img src="{{site.url}}/{{post.images[1]}}" alt="post" class="right-image">
</a> </a>
{% else %} {% 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 %}
{% endif %} {% endif %}
<div class="post-content"> <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'> <p class='info'>
{% if post.categories != empty %} {% if post.categories != empty %}
<span> <span>
@ -77,7 +77,7 @@ section_id: blog
</p> </p>
<p>{{post.excerpt}}</p> <p>{{post.excerpt}}</p>
<div class="spacing"></div> <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>
</div> </div>
{% endif %} {% endif %}

Loading…
Cancel
Save