Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit d091026

Browse files
committed
Adjusted data.json so that latest-posts appear in template mode
1 parent 982de4f commit d091026

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

core/source/_data/_data.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,12 @@
8282
{ },
8383
{ },
8484
{ }
85+
],
86+
"latest-posts" : [
87+
{ },
88+
{ },
89+
{ },
90+
{ },
91+
{ }
8592
]
8693
}

core/source/_patterns/03-templates/00-homepage.mustache

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
<section class="section latest-posts">
2424
<h2 class="section-title">Latest Posts</h2>
2525
<ul class="post-list">
26-
{{# latest-posts}}
26+
{{# latest-posts }}
2727
<li>{{> molecules-media-block }}</li>
28-
{{/ latest-posts}}
28+
{{/ latest-posts }}
2929
</ul>
3030
<a href="#" class="text-btn">View more posts</a>
3131
</section>

0 commit comments

Comments
 (0)