1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-29 07:26:22 +01:00

add masonry wrapper on photos category index

This commit is contained in:
Matthias Kretschmann 2013-11-29 21:14:32 +01:00
parent 764c12b89c
commit e9df5741a9

View File

@ -6,6 +6,10 @@ layout: base
<h1 class="page-title"><a class="home" href="/" title="Back to Home">/</a>{{ page.category }}</h1> <h1 class="page-title"><a class="home" href="/" title="Back to Home">/</a>{{ page.category }}</h1>
{% if page.url contains "/photos" %}
<div class="masonry">
{% endif %}
{% for post in site.categories[page.category] %} {% for post in site.categories[page.category] %}
{% if post.categories contains "goodies" %} {% if post.categories contains "goodies" %}
@ -48,4 +52,8 @@ layout: base
{% endfor %} {% endfor %}
{% if page.url contains "/photos" %}
</div>
{% endif %}
</section> </section>