Skip to content

Conversation

@italorgama
Copy link

@italorgama italorgama commented Dec 7, 2024

This pull request introduces changes to the Poison theme to enable the ability to hide the comments section on specific posts.

Motivation

The primary motivation for this change is to allow greater flexibility in content presentation, particularly for posts like a resume, where displaying a comments section may not be appropriate.

Key Changes

  1. Documentation Updates
  • Added instructions on how to disable the comments section for specific posts by using the hideComments: true parameter in the front matter.
  1. Template File Modification
  • Updated the template logic to check for the hideComments parameter and conditionally disable the comments section when it is set to true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant