Skip to content

Commit

Permalink
Setup a more homepagey homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
ErisDS committed Jul 20, 2023
1 parent 19bb18c commit 04be46d
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions podcast-collection.hbs → homepage.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,33 @@
<main id="site-main" class="site-main outer">
<div class="inner posts">

<div class="post-feed">
<h3>Featured</h3>
{{#collection "featured" limit="3"}}
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
{{/collection}}
</div>

<div class="post-feed">
<h3>From the Podcast</h3>
{{#collection "podcast" limit="3"}}
{{#foreach posts}}
{{> "post-card"}}
{{/foreach}}
{{/collection}}
</div>

<div class="post-feed">
{{#collection "podcasts"}}
<h3>Latest</h3>
{{#collection "latest" limit="3"}}
{{#foreach posts}}
{{!-- The tag below includes the markup for each post - partials/post-card.hbs --}}
{{> "post-card"}}
{{/foreach}}
{{/collection}}
</div>

{{pagination}}

</div>
</main>

0 comments on commit 04be46d

Please sign in to comment.