1
0
mirror of https://github.com/pattern-lab/patternlab-php.git synced 2025-01-17 06:08:23 +01:00

Adjusted data.json so that latest-posts appear in template mode

This commit is contained in:
Brad Frost 2014-03-15 18:36:56 -04:00
parent 982de4ffaa
commit d091026f4b
2 changed files with 9 additions and 2 deletions

View File

@ -82,5 +82,12 @@
{ },
{ },
{ }
],
"latest-posts" : [
{ },
{ },
{ },
{ },
{ }
]
}

View File

@ -23,9 +23,9 @@
<section class="section latest-posts">
<h2 class="section-title">Latest Posts</h2>
<ul class="post-list">
{{# latest-posts}}
{{# latest-posts }}
<li>{{> molecules-media-block }}</li>
{{/ latest-posts}}
{{/ latest-posts }}
</ul>
<a href="#" class="text-btn">View more posts</a>
</section>