本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
blog listing page template
is used for rendering the list of all of the available blogs' articles. This template will show an excerpt for each blog article along with the article title, summary, image, and author name. The developer has complete control over the appearance of this page.
<salla-infinite-scroll>
<salla-slider>
blog listing page template
allows calling the following hooks in order to inject more information:
slides
, articles
, page
, and categories
.categories
object, the developer may start by listing all of the available categories for the blog.
slides
, which can be checked by slides.count
, the blogs' short information can be displayed in form of slider. This can be used to display only the article image
, summary
, and author name
for each blog article.
article
object. Using the for-loop statement, the developer can display an excerpt for each blog article.