diff --git a/app/_layouts/default.html b/app/_layouts/default.html index 21c106f7ee..d24f52233b 100644 --- a/app/_layouts/default.html +++ b/app/_layouts/default.html @@ -210,6 +210,14 @@ {% endif %} {% endif %} + {% if site.ENABLE_ADOBE %} + {% if jekyll.environment == "production" %} + + {% elsif jekyll.environment == "preview" %} + + {% endif %} + {% endif %} + {% include structured_data.html %} {% vite_client_tag %} diff --git a/app/_plugins/generators/environment_variables.rb b/app/_plugins/generators/environment_variables.rb index 799266a8c8..b56a36bbc4 100644 --- a/app/_plugins/generators/environment_variables.rb +++ b/app/_plugins/generators/environment_variables.rb @@ -7,6 +7,7 @@ class EnvironmentVariablesGenerator < Generator def generate(site) site.config['git_branch'] = ENV['HEAD'] || 'main' site.config['ENABLE_KAPA_AI'] = ENV['ENABLE_KAPA_AI'] + site.config['ENABLE_ADOBE'] = ENV['ENABLE_ADOBE'] site.config['ENABLE_ALGOLIA'] = enable_algolia end