1
0
mirror of https://github.com/devolitalia/forty-jekyll-theme synced 2025-06-05 22:19:18 +02:00

Adds page tiles functionality

This commit is contained in:
Andrew Banchich
2016-08-25 23:15:01 +00:00
parent a0a6bd1f89
commit dfa4ec1cd6
48 changed files with 7346 additions and 56 deletions

13
_includes/tiles.html Normal file
View File

@@ -0,0 +1,13 @@
<section id="one" class="tiles">
{% for post in site.posts limit:site.home-tiles-count %}
<article>
<span class="image">
<img src="{{ page.image }}" alt="" />
</span>
<header class="major">
<h3><a href="{{ page.url }}" class="link">{{ page.title }}</a></h3>
<p>{{ page.description }}</p>
</header>
</article>
{% endfor %}
</section>