Skip to content
This repository was archived by the owner on Sep 24, 2020. It is now read-only.

Commit eac9826

Browse files
committed
Update to include separate pages from template data.
1 parent 783df2f commit eac9826

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/templates/partials/loop.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{#each pages}}
2+
<div class="blog-post">
3+
<h2 class="blog-post-title"><a href="{{url}}">{{title}}</a></h2>
4+
<p>{{{excerpt characters=230}}}...</p>
5+
</div>
6+
{{/each}}
17
{{#each posts}}
28
<div class="blog-post">
39
<h2 class="blog-post-title"><a href="{{url}}">{{title}}</a></h2>

0 commit comments

Comments
 (0)