githubEdit

Article comments

Overview

A block for displaying paginated article comments with customizable pagination controls and comment form.

Common use cases

  • Set appropriate items_per_page based on your needs

  • Configure pagination type for best user experience

  • Display article comments on blog post pages

  • Allow readers to engage with content through comments

Compatible blocks

The following blocks can be nested within this block:

Block settings

Content

Setting
Description
Options

Items per page

Number of comments to display per page

1 - 32 (default: 9)

Success message

Message displayed after successfully posting a comment

Rich text input

Show author

Displays the comment author name

Checkbox (default: true)

Show dates

Displays the comment date

Checkbox (default: true)

Spacing

Setting
Description
Options

Enable internal padding

Adds internal padding to the comments container

Checkbox (default: true)

Enable horizontal padding

Adds horizontal padding around the block

Checkbox (default: false)

Enable top padding

Adds top padding around the block

Checkbox (default: false)

Enable bottom padding

Adds bottom padding around the block

Checkbox (default: false)

Color

Setting
Description
Options

Color scheme

Controls the background and text color combination

• Body • Neutral • Accent 1 • Accent 2 • Accent 3 • Shade 1 (default) • Shade 2 • Shade 3 • Primary • Secondary • Tertiary • Blur • Transparent

Border color

Controls the border color

• Body • Subtle (default) • Strong • Primary • Secondary • Tertiary • None Visible when border position is not empty

Style

Setting
Description
Options

Border position

Position of borders on the comments container

• None (default) • Top • Bottom • Left • Right • Top and bottom • Left and right • All

Display

Setting
Description
Options

Visibility

Controls when the block is visible

• All (default) • Mobile only • Desktop only

Last updated

Was this helpful?