diff --git a/Web/lib/MJB/Web/Controller/Dashboard.pm b/Web/lib/MJB/Web/Controller/Dashboard.pm index e98c2e4..3475e69 100644 --- a/Web/lib/MJB/Web/Controller/Dashboard.pm +++ b/Web/lib/MJB/Web/Controller/Dashboard.pm @@ -204,8 +204,6 @@ sub blog_settings ($c) { $c->stash->{form}->{title} = $data->{title}; $c->stash->{form}->{desc} = $data->{description}; $c->stash->{form}->{email} = $data->{email}; - $c->stash->{form}->{twitter_username} = $data->{twitter_username}; - $c->stash->{form}->{github_username} = $data->{github_username}; } #== @@ -224,14 +222,10 @@ sub do_blog_settings ($c) { my $title = $c->stash->{form}->{title} = $c->param( 'configTitle' ); my $desc = $c->stash->{form}->{desc} = $c->param( 'configDesc' ); my $email = $c->stash->{form}->{email} = $c->param( 'configEmail' ); - my $twitter_username = $c->stash->{form}->{twitter_username} = $c->param( 'configTwitterUsername' ); - my $github_username = $c->stash->{form}->{github_username} = $c->param( 'configGithubUsername' ); $jekyll->config->data->{title} = $title; $jekyll->config->data->{description} = $desc; $jekyll->config->data->{email} = $email; - $jekyll->config->data->{twitter_username} = $twitter_username; - $jekyll->config->data->{github_username} = $github_username; $jekyll->write_config; diff --git a/Web/templates/blog/settings.html.ep b/Web/templates/blog/settings.html.ep index 1ce6ba4..04b7193 100644 --- a/Web/templates/blog/settings.html.ep +++ b/Web/templates/blog/settings.html.ep @@ -30,16 +30,6 @@ -
- - -
- -
- - -
-
diff --git a/Web/templates/dashboard/blog_settings.html.ep b/Web/templates/dashboard/blog_settings.html.ep index fc3b194..4837abe 100644 --- a/Web/templates/dashboard/blog_settings.html.ep +++ b/Web/templates/dashboard/blog_settings.html.ep @@ -15,16 +15,6 @@
-
- - -
- -
- - -
-