Blog listing
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.
Example

Variables
BlogListingPage
page
object
optional
title
string
optional
slug
enum<string>
optional
Allowed values:
blog.indexblog.index.authorblog.index.categoryblog.index.tag
slides
array[object (Article) {10}] | null
optional
title
string
optional
Example:
Top 10 items must have for 2022 Autumn.
body
string
optional
url
string
optional
has_image
boolean
optional
image
object
optional
thumbnail
string
optional
created_at
string <date> | null
optional
author
object
optional
related
array [object]
optional
tags
array [object]
optional
articles
array[object (Article) {10}]
optional
title
string
optional
Example:
Top 10 items must have for 2022 Autumn.
body
string
optional
url
string
optional
has_image
boolean
optional
image
object
optional
thumbnail
string
optional
created_at
string <date> | null
optional
author
object
optional
related
array [object]
optional
tags
array [object]
optional
categories
array[object (BlogCategory) {3}]
optional
is_current
boolean
optional
name
string
optional
url
string
optional
Components
JS Web Components
<salla-infinite-scroll>
<salla-slider>
Hooks
blog listing page template
allows calling the following hooks in order to inject more information:
Usage
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.
Modified at 2025-03-04 12:54:02