From 43bf2682489fc7a7a8f371a59e19e15f3e160070 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Thu, 18 Oct 2018 10:45:49 +0300 Subject: Rename docs production script to production and use `JEKYLL_ENV`. (#27410) --- site/_includes/scripts.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'site/_includes/scripts.html') diff --git a/site/_includes/scripts.html b/site/_includes/scripts.html index 2bd5ec8bc..74d6f9ef2 100644 --- a/site/_includes/scripts.html +++ b/site/_includes/scripts.html @@ -1,7 +1,7 @@ -{%- if site.github -%} +{%- if jekyll.environment == "production" -%} {%- else -%} @@ -11,7 +11,7 @@ {%- endif -%} -{%- if site.github -%} +{%- if jekyll.environment == "production" -%} {%- else -%} -- cgit v1.2.3