From 7c518d67de44deb028344f51b42293bd191df46a Mon Sep 17 00:00:00 2001 From: f Date: Thu, 24 Sep 2020 21:16:15 -0300 Subject: [PATCH] =?UTF-8?q?qu=C3=A9=20queme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/site.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/site.rb b/app/models/site.rb index d806863a..bd382131 100644 --- a/app/models/site.rb +++ b/app/models/site.rb @@ -460,9 +460,9 @@ class Site < ApplicationRecord new_configuration = configuration.dup if design.no_theme? - new_configuration['theme'] = design.gem - else new_configuration.delete 'theme' + else + new_configuration['theme'] = design.gem end new_site = Jekyll::Site.new(new_configuration)