Snippet · Mecha CMS

Code snippet collection for developers.

Disable Comments

Author: Taufik Nurrohman · 357 Views

Tweet

Disable comments on specific page.

Any existing comments will be visible, but not with the comment form. Comments section including the comments header will be hidden if there aren’t any comments in the current page.

---
title: Page Title
description: Page description.
comments:
  x: true
...

Page content.

0 Comments

No comments yet.