Remove theme changes.

master
Manager Bot 3 years ago
parent e46e2ff950
commit a6f5c80695
  1. 3
      Web/lib/MJB/Web/Controller/Dashboard.pm

@ -206,7 +206,6 @@ sub blog_settings ($c) {
$c->stash->{form}->{email} = $data->{email}; $c->stash->{form}->{email} = $data->{email};
$c->stash->{form}->{twitter_username} = $data->{twitter_username}; $c->stash->{form}->{twitter_username} = $data->{twitter_username};
$c->stash->{form}->{github_username} = $data->{github_username}; $c->stash->{form}->{github_username} = $data->{github_username};
$c->stash->{form}->{theme} = $data->{theme};
} }
#== #==
@ -227,14 +226,12 @@ sub do_blog_settings ($c) {
my $email = $c->stash->{form}->{email} = $c->param( 'configEmail' ); my $email = $c->stash->{form}->{email} = $c->param( 'configEmail' );
my $twitter_username = $c->stash->{form}->{twitter_username} = $c->param( 'configTwitterUsername' ); my $twitter_username = $c->stash->{form}->{twitter_username} = $c->param( 'configTwitterUsername' );
my $github_username = $c->stash->{form}->{github_username} = $c->param( 'configGithubUsername' ); my $github_username = $c->stash->{form}->{github_username} = $c->param( 'configGithubUsername' );
my $theme = $c->stash->{form}->{theme} = $c->param( 'configTheme' );
$jekyll->config->data->{title} = $title; $jekyll->config->data->{title} = $title;
$jekyll->config->data->{description} = $desc; $jekyll->config->data->{description} = $desc;
$jekyll->config->data->{email} = $email; $jekyll->config->data->{email} = $email;
$jekyll->config->data->{twitter_username} = $twitter_username; $jekyll->config->data->{twitter_username} = $twitter_username;
$jekyll->config->data->{github_username} = $github_username; $jekyll->config->data->{github_username} = $github_username;
$jekyll->config->data->{theme} = $theme;
$jekyll->write_config; $jekyll->write_config;

Loading…
Cancel
Save