Skip to content

BlogSettings

The BlogSettings object represents settings for blog articles objects in the storefront.

classDiagram
  direction LR
  class BlogSettings{
    bool isCommentsEnabled
    bool canAnyoneComment
    bool isFilesDownloadEnabled
    bool canAnyoneDownload
    int articlesPerPage
  }

Properties

Attribute name Type Description
isCommentsEnabled bool Indicates whether that comment on blog article is enabled.
canAnyoneComment bool Indicates whether that non logged user can comment.
isFilesDownloadEnabled bool Indicates whether that downloading files attached to an blog article is enabled.
canAnyoneDownload bool Indicates whether that non logged user can download files attached to an blog article.
articlesPerPage int Number of blog articles per page.

Examples

isCommentsEnabled property

{{ blogSettings.isCommentsEnabled }}
true

canAnyoneComment property

{{ blogSettings.canAnyoneComment }}
true

isFilesDownloadEnabled property

{{ blogSettings.isFilesDownloadEnabled }}
true

canAnyoneDownload property

{{ blogSettings.canAnyoneDownload }}
true

articlesPerPage property

{{ blogSettings.articlesPerPage }}
12