Skip to content

Show blog post comments only in production

Achilleas Pipinellis requested to merge ignore-comments-unless-prod into master

Fixes https://gitlab.com/gitlab-com/www-gitlab-com/issues/1611

This MR actually sets an environment variable only when the stage is production. Middleman then checks this and skips the addition of the disqus snippet from the layout if the criteria is not met.

Edited by Achilleas Pipinellis

Merge request reports