EJS Ternary

<!-- For example on your navigation route, adding an CSS class -->
<li class="nav-item <%= page_name ==='index' && 'active' %>">
  <a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item <%= page_name ==='about' && 'active' %>">
  <a class="nav-link" href="/about">About Us</a>
</li>
Jokerinya