#if ($pages && !$pages.isEmpty())
<div class="ws-subnav">
   #foreach ($page in $pages)
   #if($page.show)
   <a class="ws-subnav__item" href="$page.URI">
      <h2 class="ws-subnav__heading">
         $page.displayName
         <svg aria-hidden="true" focusable="false" width="12" height="21" viewBox="0 0 12 21" fill="none" xmlns="http://www.w3.org/2000/svg">
            <path d="M1.56738 0.635747C1.6581 0.545249 1.74882 0.5 1.93026 0.5C2.06633 0.5 2.20241 0.545249 2.33849 0.635747L11.8186 10.138C11.9093 10.2285 12 10.3643 12 10.5C12 10.681 11.9093 10.7715 11.8186 10.862L2.33849 20.3643C2.20241 20.4548 2.06633 20.5 1.93026 20.5C1.74882 20.5 1.6581 20.4548 1.56738 20.3643L0.660197 19.4593C0.524119 19.3688 0.47876 19.2783 0.47876 19.0973C0.47876 18.9615 0.524119 18.8258 0.660197 18.69L8.87022 10.5L0.660197 2.30995C0.524119 2.21946 0.47876 2.08371 0.47876 1.90271C0.47876 1.76697 0.524119 1.63122 0.660197 1.54072L1.56738 0.635747Z" fill="white"/>
         </svg>
      </h2>
      #if ($page.description)
      <div class="ws-subnav__description">
         $page.description
      </div>
      #end 
   </a>
   #end
   #end
</div>
#end
