/**
  * 指定したTagをもつ記事の一覧表示
  *
  * @return Response
  */
 public function getTag($slug)
 {
     $name = Tag::where('slug', $slug)->first();
     if (!$name) {
         return abort(404);
     } else {
         $title = $name->name;
     }
     $articles = Article::where('state', 'public')->whereHas('tags', function ($q) use($slug) {
         $q->where('slug', $slug);
     })->orderBy('created_at', 'desc')->with('icon')->get();
     $count = $articles->count();
     return view('contents.blog.tag.index')->with('articles', $articles)->with('count', $count)->with('title', $title);
 }