mirror of
https://github.com/devolitalia/forty-jekyll-theme
synced 2025-01-08 06:15:29 +01:00
Update tiles.html
This commit is contained in:
parent
b946adbd28
commit
4d0915e216
@ -1,13 +1,13 @@
|
||||
<section id="one" class="tiles">
|
||||
{% if site.tiles-source == "pages" %}
|
||||
{% for page in site.pages limit:site.tiles-count %}
|
||||
{% if site.tiles-source == "posts" %}
|
||||
{% for post in site.posts limit:site.tiles-count %}
|
||||
<article>
|
||||
<span class="image">
|
||||
<img src="{{ page.image }}" alt="" />
|
||||
<img src="{{ post.image }}" alt="" />
|
||||
</span>
|
||||
<header class="major">
|
||||
<h3><a href="{{ site.baseurl }}{{ page.url }}" class="link">{{ page.title }}</a></h3>
|
||||
<p>{{ page.description }}</p>
|
||||
<h3><a href="{{ site.baseurl }}{{ post.url }}" class="link">{{ post.title }}</a></h3>
|
||||
<p>{{ post.description }}</p>
|
||||
</header>
|
||||
</article>
|
||||
{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user