private function composeSidebar()
 {
     view()->composer('partials.sidebar', function ($view) {
         $view->with(['tags' => Tag::all(), 'archives' => Blog::selectRaw("DATE_FORMAT('published_at', '%M %Y')")->distinct()->get()]);
     });
 }