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