art/_includes/tiles.html
2016-08-26 01:45:44 +00:00

15 lines
552 B
HTML

<section id="one" class="tiles">
{% if site.tiles-source == "posts" %}
{% for post in site.posts limit:site.tiles-count %}
<article>
<span class="image">
<img src="{{ post.image }}" alt="" />
</span>
<header class="major">
<h3><a href="{{ site.baseurl }}{{ post.url }}" class="link">{{ post.title }}</a></h3>
<p>{{ post.description }}</p>
</header>
</article>
{% endfor %}
{% endif %}
</section>