<div class="nav flex-column nav-pills sidemenu">
  <div class="nav-link barm">メニュー</div>
  <a href="/" class="nav-link {{ ($_SERVER['REQUEST_URI'] == '/' ? 'bara' : 'bar') }}">トップ</a>
  @foreach (getPagesInMenu() as $m)
    <a href="/{{ $m['slug'] }}" class="nav-link {{ ($_SERVER['REQUEST_URI'] == '/'.$m['slug'] ? 'bara' : 'bar') }}">{{ $m['title'] }}</a>
  @endforeach
  <a href="/video" class="nav-link {{ ($_SERVER['REQUEST_URI'] == '/video' ? 'bara' : 'bar') }}">動画</a>
</div>