mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-25 19:34:48 +01:00
add masonry wrapper on photos category index
This commit is contained in:
parent
764c12b89c
commit
e9df5741a9
@ -5,9 +5,13 @@ layout: base
|
|||||||
<section role="main" id="main" class="row">
|
<section role="main" id="main" class="row">
|
||||||
|
|
||||||
<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>
|
||||||
|
|
||||||
{% 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" %}
|
{% if post.categories contains "goodies" %}
|
||||||
|
|
||||||
<article class="hentry goodie">
|
<article class="hentry goodie">
|
||||||
@ -47,5 +51,9 @@ layout: base
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
{% if page.url contains "/photos" %}
|
||||||
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</section>
|
</section>
|
Loading…
Reference in New Issue
Block a user