1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 01:46:51 +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

@ -5,9 +5,13 @@ layout: base
<section role="main" id="main" class="row">
<h1 class="page-title"><a class="home" href="/" title="Back to Home">/</a>{{ page.category }}</h1>
{% for post in site.categories[page.category] %}
{% if page.url contains "/photos" %}
<div class="masonry">
{% endif %}
{% for post in site.categories[page.category] %}
{% if post.categories contains "goodies" %}
<article class="hentry goodie">
@ -47,5 +51,9 @@ layout: base
{% endif %}
{% endfor %}
{% if page.url contains "/photos" %}
</div>
{% endif %}
</section>