Esempio n. 1
0
 public function sitemap()
 {
     $content = view('larablog::blog.sitemap', ['last' => Larablog::last(), 'posts' => Larablog::posts(), 'pages' => Larablog::pages(), 'tags' => Larablog::tags(), 'series' => Larablog::series()]);
     return Response::make($content, '200')->header('Content-Type', 'text/xml');
 }
Esempio n. 2
0
 public function notfound()
 {
     return view('larablog::themes.master', ['view' => lb_view('error.404'), 'series' => Larablog::series(), 'top' => Larablog::top()]);
 }