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
18
index.hbs
18
index.hbs
|
@ -1,13 +1,15 @@
|
|||
{{!< default}}
|
||||
<section class="content">
|
||||
<ul class="hfeed">
|
||||
{{#features}}
|
||||
<li class="featured">
|
||||
{{> featured}}
|
||||
</li>
|
||||
{{/features}}
|
||||
{{#posts}}
|
||||
{{> post}}
|
||||
{{/posts}}
|
||||
{{#foreach posts}}
|
||||
{{#if @first}}
|
||||
<li class="featured">
|
||||
{{> full-post}}
|
||||
</li>
|
||||
{{else}}
|
||||
{{> list-post}}
|
||||
{{/if}}
|
||||
{{/foreach}}
|
||||
</ul>
|
||||
|
||||
</section>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{{!< default}}
|
||||
<section class="content">
|
||||
{{#post}}
|
||||
{{> featured}}
|
||||
{{> full-post}}
|
||||
{{/post}}
|
||||
</section>
|
Loading…
Reference in a new issue