|
|
|
@ -427,6 +427,12 @@ sub do_blog_page ( $c ) { |
|
|
|
my $path = $c->param('pagePath'); |
|
|
|
my $path = $c->param('pagePath'); |
|
|
|
my $content = $c->param('pageContent'); |
|
|
|
my $content = $c->param('pageContent'); |
|
|
|
my $headers = $c->param('pageHeaders'); |
|
|
|
my $headers = $c->param('pageHeaders'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if ( ! $path ) { |
|
|
|
|
|
|
|
$c->flash( error_message => "You must add a filepath for the HTML file." ); |
|
|
|
|
|
|
|
$c->redirect_to( $c->url_for( 'show_dashboard_blog_page', { id => $blog->id } ) ); |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
my $jekyll = $c->jekyll($blog->domain->name); |
|
|
|
my $jekyll = $c->jekyll($blog->domain->name); |
|
|
|
|
|
|
|
|
|
|
|
|