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

Commit b4f4094

Browse files
committed
Update latest-post block and blog page to inherit the blog template
1 parent 582be7e commit b4f4094

File tree

2 files changed

+8
-34
lines changed

2 files changed

+8
-34
lines changed
Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<section class="section latest-posts">
2-
<h2 class="section-title">Latest Posts</h2>
3-
<ul class="post-list">
4-
<li>{{> molecules-media-block }}</li>
5-
<li>{{> molecules-media-block }}</li>
6-
<li>{{> molecules-media-block }}</li>
7-
<li>{{> molecules-media-block }}</li>
8-
<li>{{> molecules-media-block }}</li>
9-
</ul>
10-
<a href="#" class="text-btn">View more posts</a>
2+
<h2 class="section-title">Latest Posts</h2>
3+
<ul class="post-list">
4+
{{# latest-posts}}
5+
<li>{{> molecules-media-block }}</li>
6+
{{/ latest-posts}}
7+
</ul>
8+
<a href="#" class="text-btn">View more posts</a>
119
</section>
Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1 @@
1-
<div class="page" id="page">
2-
{{> organisms-header }}
3-
<div role="main">
4-
<h1 class="section-title">Our Outdoor Blog</h1>
5-
<div class="l-two-col">
6-
<div class="l-main">
7-
<section class="section latest-posts">
8-
9-
<ul class="post-list">
10-
{{# latest-posts}}
11-
<li>{{> molecules-media-block }}</li>
12-
{{/ latest-posts}}
13-
</ul>
14-
<a href="#" class="text-btn">View more posts</a>
15-
</section>
16-
{{> molecules-pagination }}
17-
</div><!--end l-main-->
18-
19-
<div class="l-sidebar">
20-
{{> organisms-recent-tweets }}
21-
</div><!--end l-sidebar-->
22-
</div><!--end two-col-->
23-
</div><!--End role=main-->
24-
{{> organisms-footer }}
25-
</div>
1+
{{> templates-blog }}

0 commit comments

Comments
 (0)