Skip to content

Commit

Permalink
Fixed missing masonry
Browse files Browse the repository at this point in the history
  • Loading branch information
Fried-Chicken authored and Fried-Chicken committed Jan 13, 2019
1 parent e51e1c7 commit 63bfb31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions partials/post-card.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<article class="post-card {{post_class}} {{#unless feature_image}}no-image{{else}}{{#is "home"}}{{/is}}{{/unless}}">
<article class="post-card {{post_class}} {{#unless feature_image}}no-image{{else}}{{#is "home"}}{{#has index="nth:6"}}post-card-large{{/has}}{{/is}}{{/unless}}">

{{#if feature_image}}
{{#if feature_image}}
<a class="post-card-image-link" href="{{url}}">
{{!-- This is a responsive image, it loads different sizes depending on device
https://medium.freecodecamp.org/a-guide-to-responsive-images-with-ready-to-use-templates-c400bd65c433 --}}
Expand Down

0 comments on commit 63bfb31

Please sign in to comment.