The 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.Following is the page location and url:Example#
Variables#
Components#
The blog page includes the Breadcrumbs component. Breadcrumbs are a set of links that indicate the current page and its "ancestors" leading back to the site's homepage.JS Web Components#
The Blog Listing page may include the following JS Web Components, which are ready-made designs and style-sets of web components for Salla stores:Hooks#
The blog listing page template
allows calling the following hooks in order to inject more information:Usage#
The blog listing page receives several objects containing the details of the whole blog. These objects are slides
, articles
, page
, and categories
.Using the categories
object, the developer may start by listing all of the available categories for the blog.In the case of the availability of the object 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.The core object for this page is the 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