Update tiles.html
This commit is contained in:
parent
5f0d08f189
commit
b54d577a1b
|
@ -1,6 +1,6 @@
|
|||
<section id="one" class="tiles">
|
||||
{% if site.tiles-source == 'posts' %}
|
||||
{% for post in site.posts limit:site.tiles-count %}
|
||||
{% if site.tiles-source == 'posts' %}
|
||||
<article>
|
||||
<span class="image">
|
||||
<img src="{{ post.image }}" alt="" />
|
||||
|
@ -10,10 +10,10 @@
|
|||
<p>{{ post.description }}</p>
|
||||
</header>
|
||||
</article>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if site.tiles-source == 'pages' %}
|
||||
{% endfor %}
|
||||
{% for page in site.pages limit:site.tiles-count %}
|
||||
{% if site.tiles-source == 'pages' %}
|
||||
<article>
|
||||
<span class="image">
|
||||
<img src="{{ page.image }}" alt="" />
|
||||
|
@ -23,6 +23,6 @@
|
|||
<p>{{ page.description }}</p>
|
||||
</header>
|
||||
</article>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
|
Loading…
Reference in New Issue