mirror of
https://github.com/adulau/art.git
synced 2024-11-22 10:07:08 +00:00
Update tiles.html
This commit is contained in:
parent
5f0d08f189
commit
b54d577a1b
1 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
<section id="one" class="tiles">
|
<section id="one" class="tiles">
|
||||||
{% if site.tiles-source == 'posts' %}
|
|
||||||
{% for post in site.posts limit:site.tiles-count %}
|
{% for post in site.posts limit:site.tiles-count %}
|
||||||
|
{% if site.tiles-source == 'posts' %}
|
||||||
<article>
|
<article>
|
||||||
<span class="image">
|
<span class="image">
|
||||||
<img src="{{ post.image }}" alt="" />
|
<img src="{{ post.image }}" alt="" />
|
||||||
|
@ -10,10 +10,10 @@
|
||||||
<p>{{ post.description }}</p>
|
<p>{{ post.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if site.tiles-source == 'pages' %}
|
{% endfor %}
|
||||||
{% for page in site.pages limit:site.tiles-count %}
|
{% for page in site.pages limit:site.tiles-count %}
|
||||||
|
{% if site.tiles-source == 'pages' %}
|
||||||
<article>
|
<article>
|
||||||
<span class="image">
|
<span class="image">
|
||||||
<img src="{{ page.image }}" alt="" />
|
<img src="{{ page.image }}" alt="" />
|
||||||
|
@ -23,6 +23,6 @@
|
||||||
<p>{{ page.description }}</p>
|
<p>{{ page.description }}</p>
|
||||||
</header>
|
</header>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue