Update tiles.html

This commit is contained in:
Andrew Banchich 2016-08-26 01:51:44 +00:00
parent b946adbd28
commit 4d0915e216
1 changed files with 5 additions and 5 deletions

View File

@ -1,13 +1,13 @@
<section id="one" class="tiles"> <section id="one" class="tiles">
{% if site.tiles-source == "pages" %} {% if site.tiles-source == "posts" %}
{% for page in site.pages limit:site.tiles-count %} {% for post in site.posts limit:site.tiles-count %}
<article> <article>
<span class="image"> <span class="image">
<img src="{{ page.image }}" alt="" /> <img src="{{ post.image }}" alt="" />
</span> </span>
<header class="major"> <header class="major">
<h3><a href="{{ site.baseurl }}{{ page.url }}" class="link">{{ page.title }}</a></h3> <h3><a href="{{ site.baseurl }}{{ post.url }}" class="link">{{ post.title }}</a></h3>
<p>{{ page.description }}</p> <p>{{ post.description }}</p>
</header> </header>
</article> </article>
{% endfor %} {% endfor %}