Update tiles.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:43:10 +00:00
parent 31a1ff5f11
commit 27ecb0dfb3

View file

@ -1,6 +1,6 @@
<section id="one" class="tiles">
{% if site.tiles-source == "posts" %}
{% for post in site.posts limit:site.home-tiles-count %}
{% for post in site.posts limit:site.tiles-count %}
<article>
<span class="image">
<img src="{{ post.image }}" alt="" />
@ -13,7 +13,7 @@
{% endfor %}
{% endif %}
{% if site.tiles-source == "pages" %}
{% for page in site.pages limit:site.home-tiles-count %}
{% for page in site.pages limit:site.tiles-count %}
<article>
<span class="image">
<img src="{{ page.image }}" alt="" />