Skip to content

Commit

Permalink
used is-helper to make video only show on first page
Browse files Browse the repository at this point in the history
  • Loading branch information
gauderkd committed Sep 20, 2016
1 parent a83b2d6 commit 150d8ee
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions partials/loop.hbs
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<div class="post-list">

<div id="push">
<div class="higherSection">

</div>
<div class="lowerSection">
<article class="featureArticle post">
<div class="inner featureVid">
<iframe width="560" height="315" src="https://www.youtube.com/embed/iKEaNCNHUjo" frameborder="0" allowfullscreen></iframe>
</div>
</article>
{{#is "home"}}
<article class="featureArticle post">
<div class="inner featureVid">
<iframe width="560" height="315" src="https://www.youtube.com/embed/iKEaNCNHUjo" frameborder="0" allowfullscreen></iframe>
</div>
</article>
{{/is}}
{{#foreach posts}}
<article class="{{post_class}}">
<div class="inner">
Expand All @@ -28,7 +26,6 @@
</div>
</article>
{{/foreach}}
</div>

</div>

Expand Down

0 comments on commit 150d8ee

Please sign in to comment.