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:
13
_includes/tiles.html
Normal file
13
_includes/tiles.html
Normal 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>
|
||||
Reference in New Issue
Block a user