File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 76
76
{{ /foreach }}
77
77
{{ /match }}
78
78
79
- {{!-- Recent posts --}}
80
- {{ #match feed " recent" }}
81
- {{ #get " posts" include =" authors" filter =" id:-{{ post.id }} " limit =" 4" as |next |}}
82
- {{ #foreach next }}
83
- {{> " post-card" lazyLoad =true }}
84
- {{ /foreach }}
85
- {{ /get }}
86
- {{ /match }}
87
-
88
79
</div >
89
80
</main >
90
81
Original file line number Diff line number Diff line change 60
60
61
61
{{ /post }}
62
62
63
- {{> " components/post-list" feed =" recent" postFeedStyle =" Grid" title =" Read more" showTitle =true showSidebar =false }}
63
+ {{ #get " posts" include =" authors" filter =" id:-{{ post.id }} " limit =" 4" as |next |}}
64
+ {{ #if next }}
65
+ <section class =" gh-container is-grid gh-outer" >
66
+ <div class =" gh-container-inner gh-inner" >
67
+ <h2 class =" gh-container-title" >Read more</h2 >
68
+ <div class =" gh-feed" >
69
+ {{ #foreach next }}
70
+ {{> " post-card" lazyLoad =true }}
71
+ {{ /foreach }}
72
+ </div >
73
+ </div >
74
+ </section >
75
+ {{ /if }}
76
+ {{ /get }}
You can’t perform that action at this time.
0 commit comments