mirror of
https://github.com/adulau/art.git
synced 2024-11-24 11:07:06 +00:00
Update tiles.html
This commit is contained in:
parent
4a5570957a
commit
ca36b83e7e
1 changed files with 16 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
||||||
<section id="one" class="tiles">
|
<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.home-tiles-count %}
|
||||||
<article>
|
<article>
|
||||||
<span class="image">
|
<span class="image">
|
||||||
|
@ -10,4 +11,19 @@
|
||||||
</header>
|
</header>
|
||||||
</article>
|
</article>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
{% if site.tiles-source == "pages" %}
|
||||||
|
{% for page in site.pages limit:site.home-tiles-count %}
|
||||||
|
<article>
|
||||||
|
<span class="image">
|
||||||
|
<img src="{{ page.image }}" alt="" />
|
||||||
|
</span>
|
||||||
|
<header class="major">
|
||||||
|
<h3><a href="{{ site.baseurl }}{{ page.url }}" class="link">{{ page.title }}</a></h3>
|
||||||
|
<p>{{ page.description }}</p>
|
||||||
|
</header>
|
||||||
|
</article>
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
Loading…
Reference in a new issue