Skip to content
Snippets Groups Projects
Commit 749ea894 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis
Browse files

Show blog post comments only in production

parent c29d2e09
No related branches found
No related tags found
No related merge requests found
Pipeline #
Loading
Loading
@@ -47,6 +47,8 @@ build_branch:
 
build_master:
<<: *build_base
variables:
MIDDLEMAN_ENV: 'production'
script:
- bundle exec rake build pdfs
only:
Loading
Loading
Loading
Loading
@@ -61,8 +61,9 @@
 
= partial "includes/blog/install"
 
.wrapper.comments
= partial "includes/blog/comments"
- if ENV['MIDDLEMAN_ENV'] == 'production'
.wrapper.comments
= partial "includes/blog/comments"
 
= partial "includes/layout/footer"
- unless current_page.data.ee_cta == false
Loading
Loading
Loading
Loading
@@ -119,8 +119,9 @@
.wrapper.signup
= partial "includes/newsletter-signup.html"
= partial "includes/blog/install"
.wrapper.comments
= partial "includes/blog/comments"
- if ENV['MIDDLEMAN_ENV'] == 'production'
.wrapper.comments
= partial "includes/blog/comments"
= partial "includes/layout/footer"
- unless current_page.data.ee_cta == false
= partial "includes/features/gitlab-ee-trial"
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment