|
@ -11,15 +11,8 @@ section_id: blog |
|
|
{% if mod == 1 %} |
|
|
{% if mod == 1 %} |
|
|
<div class="post alt"> |
|
|
<div class="post alt"> |
|
|
{% if post.images %} |
|
|
{% if post.images %} |
|
|
{% if post.images.size > 1 %} |
|
|
|
|
|
<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 | replace:'.html','' }}"><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 %} |
|
|
|
|
|
<div class="post-content"> |
|
|
<div class="post-content"> |
|
|
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3> |
|
|
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3> |
|
|
<p class='info'> |
|
|
<p class='info'> |
|
@ -49,15 +42,8 @@ section_id: blog |
|
|
{% if mod == 0 %} |
|
|
{% if mod == 0 %} |
|
|
<div class="post alt"> |
|
|
<div class="post alt"> |
|
|
{% if post.images %} |
|
|
{% if post.images %} |
|
|
{% if post.images.size > 1 %} |
|
|
|
|
|
<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 | replace:'.html','' }}"><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 %} |
|
|
|
|
|
<div class="post-content"> |
|
|
<div class="post-content"> |
|
|
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3> |
|
|
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3> |
|
|
<p class='info'> |
|
|
<p class='info'> |
|
|