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:
parent
764c12b89c
commit
e9df5741a9
@ -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>
|
Loading…
Reference in New Issue
Block a user