|
|
@ -1168,7 +1168,7 @@ get('/admin/pages/:static', function ($static) |
|
|
'description' => $post->description, |
|
|
'description' => $post->description, |
|
|
'canonical' => $post->url, |
|
|
'canonical' => $post->url, |
|
|
'bodyclass' => 'in-page ' . strtolower($static), |
|
|
'bodyclass' => 'in-page ' . strtolower($static), |
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » ' . '<a href="'. site_url() .'admin/pages">Pages</a> » ' . $post->title, |
|
|
|
|
|
|
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » ' . '<a href="'. site_url() .'admin/pages">' .i18n('pages').'</a> » ' . $post->title, |
|
|
'p' => $post, |
|
|
'p' => $post, |
|
|
'static' => $post, |
|
|
'static' => $post, |
|
|
'type' => 'staticSubpage', |
|
|
'type' => 'staticSubpage', |
|
|
@ -3207,7 +3207,7 @@ get('/:static/edit', function ($static) { |
|
|
'canonical' => site_url(), |
|
|
'canonical' => site_url(), |
|
|
'bodyclass' => 'edit-page', |
|
|
'bodyclass' => 'edit-page', |
|
|
'is_admin' => true, |
|
|
'is_admin' => true, |
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » ' . $post->title, |
|
|
|
|
|
|
|
|
'breadcrumb' => '<a href="' . site_url() . '">' . config('breadcrumb.home') . '</a> » <a href="'. site_url() .'admin/pages">' .i18n('pages').'</a> » ' . $post->title, |
|
|
'p' => $post, |
|
|
'p' => $post, |
|
|
'static' => $post, |
|
|
'static' => $post, |
|
|
'type' => 'staticPage', |
|
|
'type' => 'staticPage', |
|
|
|