The website of Ura Design
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
2.4 KiB

7 years ago
---
layout: blog
title: Blog
section_id: blog
---
7 years ago
7 years ago
<div class="large-12 columns">
7 years ago
{% for post in paginator.posts %}
7 years ago
{% assign mod = forloop.index | modulo: 2 %}
{% if mod == 1 %}
7 years ago
<div class="large-1 blog centered-text columns">
7 years ago
{% if post.categories != empty %}
<span>
{% for cat in post.categories %}
<a href="#">{{cat | capitalize }}</a>
7 years ago
{% unless forloop.last %}
,
{% endunless %}
{% endfor %}
</span>
/
{% endif %}
7 years ago
<h1 class="blogdate">{{ post.date | date: "%d" }}</h1>
<p>{{ post.date | date: "%B %Y" }}</p>
7 years ago
</div>
7 years ago
<div class="large-8 columns">
<div class="post-content blog">
7 years ago
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3>
7 years ago
<p>{{post.excerpt}}</p>
<p><a href="{{ post.url | replace:'.html','' }}" class="button tiny blue simple boxed">Read more</a></p>
7 years ago
</div>
7 years ago
</div>
<div class="large-3 columns blog">
{% if post.images %}
<a href="{{ post.url | replace:'.html','' }}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
{% endif %}
7 years ago
</div>
7 years ago
</div>
7 years ago
{% endif %}
{% endfor %}
</div>
7 years ago
<div class="large-12 columns">
{% for post in paginator.posts %}
{% assign mod = forloop.index | modulo: 2 %}
7 years ago
{% if mod == 0 %}
<div class="post alt">
{% if post.images %}
<a href="{{ post.url | replace:'.html','' }}"><img src="{{site.url}}/{{post.images[0]}}" alt="post"></a>
{% endif %}
<div class="post-content">
<h3><a href="{{ post.url | replace:'.html','' }}">{{post.title}}</a></h3>
<p class='info'>
{% if post.categories != empty %}
<span>
{% for cat in post.categories %}
7 years ago
<a href="#">{{cat | capitalize}}</a>
{% unless forloop.last %}
,
{% endunless %}
{% endfor %}
</span>
/
{% endif %}
7 years ago
<span>{{ post.date | date: "%B %d, %Y" }}</span>
</p>
<p>{{post.excerpt}}</p>
<p><a href="{{ post.url | replace:'.html','' }}" class="button tiny blue simple boxed">Read more</a></p>
</div>
</div>
{% endif %}
{% endfor %}
</div>