Commit 409173ee authored by Andrew Banchich's avatar Andrew Banchich
Browse files

adds featured toggle

parent fe9881b5
<section id="one" class="tiles">
{% for post in site.posts limit:site.tiles-count %}
{% if site.tiles-source == 'posts' %}
{% if post.featured == 'yes' %}
<article>
<span class="image">
<img src="{{ post.image }}" alt="" />
......@@ -11,10 +12,12 @@
</header>
</article>
{% endif %}
{% endif %}
{% endfor %}
{% for page in site.pages limit:site.tiles-count %}
{% if site.tiles-source == 'pages' %}
<article>
{% if page.featured == 'yes'}
<article>
<span class="image">
<img src="{{ page.image }}" alt="" />
</span>
......@@ -24,5 +27,6 @@
</header>
</article>
{% endif %}
{% endif %}
{% endfor %}
</section>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment