devol.it/_includes/tiles.html

16 lines
552 B
HTML
Raw Normal View History

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