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:
parent
982de4ffaa
commit
d091026f4b
@ -82,5 +82,12 @@
|
||||
{ },
|
||||
{ },
|
||||
{ }
|
||||
],
|
||||
"latest-posts" : [
|
||||
{ },
|
||||
{ },
|
||||
{ },
|
||||
{ },
|
||||
{ }
|
||||
]
|
||||
}
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user