It’s very common to display a list of top/latest posts as a blog home page. Our blog-template
blog feature helps you to create your favorite blog posts list home page.
It’s very simple to create your top/latest featured posts using -- ds.posts
which can be added inside -- ds.page
.
-- ds.posts
-- import: meenukumari28.github.io/galaxia/blog-articles/sample-post-1 -- ds.page: -- ds.featured-post: post-data: $sample-post-1.meta -- ds.posts: -- ds.post-card: post-data: $sample-post-1.meta1 -- ds.post-card: post-data: $sample-post-1.meta2 -- end: ds.posts -- end: ds.page
import
-- ds.posts:
posts
-- ds.featured-post:
featured-post
-- ds.post-card
post-card