art/_includes/tiles.html

16 lines
552 B
HTML
Raw Normal View History

2016-08-25 23:15:01 +00:00
<section id="one" class="tiles">
2016-08-26 01:51:44 +00:00
{% if site.tiles-source == "posts" %}
{% for post in site.posts limit:site.tiles-count %}
2016-08-26 01:49:43 +00:00
<article>
<span class="image">
2016-08-26 01:51:44 +00:00
<img src="{{ post.image }}" alt="" />
2016-08-26 01:49:43 +00:00
</span>
<header class="major">
2016-08-26 01:51:44 +00:00
<h3><a href="{{ site.baseurl }}{{ post.url }}" class="link">{{ post.title }}</a></h3>
<p>{{ post.description }}</p>
2016-08-26 01:49:43 +00:00
</header>
</article>
{% endfor %}
{% endif %}
2016-08-25 23:15:01 +00:00
</section>