Itās very common to display a list of top/latest posts as a blog home page. Our blog-template-1
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: fastn-community.github.io/blog-template-1/blog-articles/sample-post -- ds.page: -- ds.featured-post: post-data: $sample-post.meta -- ds.posts: -- ds.post-article: post-data: $sample-post.meta1 -- ds.post-article: post-data: $sample-post.meta2 -- end: ds.posts -- end: ds.page
import
-- ds.posts:
posts
-- ds.featured-post:
featured-post
-- ds.post-article
post-article