Merge pull request #9 from cobbspur/casperissue1
closes #1 - removing featured
This commit is contained in:
commit
213457659c
4 changed files with 11 additions and 9 deletions
14
index.hbs
14
index.hbs
|
@ -1,13 +1,15 @@
|
||||||
{{!< default}}
|
{{!< default}}
|
||||||
<section class="content">
|
<section class="content">
|
||||||
<ul class="hfeed">
|
<ul class="hfeed">
|
||||||
{{#features}}
|
{{#foreach posts}}
|
||||||
|
{{#if @first}}
|
||||||
<li class="featured">
|
<li class="featured">
|
||||||
{{> featured}}
|
{{> full-post}}
|
||||||
</li>
|
</li>
|
||||||
{{/features}}
|
{{else}}
|
||||||
{{#posts}}
|
{{> list-post}}
|
||||||
{{> post}}
|
{{/if}}
|
||||||
{{/posts}}
|
{{/foreach}}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</section>
|
</section>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{{!< default}}
|
{{!< default}}
|
||||||
<section class="content">
|
<section class="content">
|
||||||
{{#post}}
|
{{#post}}
|
||||||
{{> featured}}
|
{{> full-post}}
|
||||||
{{/post}}
|
{{/post}}
|
||||||
</section>
|
</section>
|
Loading…
Reference in a new issue