 <footer class="bd-footer py-3 mt-2 bg-white text-secondary fw-light">
  <div class="container py-5">
    <div class="row">
      <div class="col-6 col-lg-2  mb-3 pt-1">
        <h5 class="text-dark mb-3">Categories</h5>
        <ul class="list-unstyled" style="font-size:14px;">
          <?php foreach ($categories->db as $key=>$fields):
          if($fields['list']):  ?>
          <li class="mb-3"><a class="text-dark text-decoration-none fw-light" href="<?php echo DOMAIN_CATEGORIES.$key; ?>"><?php echo $fields['name']; ?></a></li>
          <?php
          endif;
          endforeach; ?>
        </ul>
      </div>
      <div class="col-6 col-lg-5 mb-3 pt-1">
        <h5 class="text-dark mb-3">Top Headline</h5>
        <ul class="list-unstyled" style="font-size:14px;">
          <?php
          $listOfKeys = $pages->getList(1, 5);
          if ($listOfKeys) :
          foreach ($listOfKeys as $key) :
          $lPage = new Page($key);
          ?>
          <li class="mb-3"><a class="text-dark text-decoration-none fw-light" href="<?php echo $lPage->permalink() ?>"><?php echo $lPage->title() ?></a></li>
          <?php endforeach ?>
          <?php endif ?>
        </ul>
      </div>
      <div class="col-lg-4 mb-3 offset-lg-1">
        <a class="d-inline-flex align-items-center mb-3 link-dark text-decoration-none text-dark" href="<?php echo Theme::siteUrl() ?>">
          <span class="fs-5 fw-bold text-dark"><?php echo $site->title(); ?></span>
        </a>
        <p>
          <?php foreach (Theme::socialNetworks() as $key=>$label): ?>
          <a class="text-decoration-none" href="<?php echo $site->{$key}(); ?>"><img src="<?php echo DOMAIN_THEME.'img/'.$key.'.png' ?>"> </a>&nbsp;
          <?php endforeach; ?>
        </p>
        <ul class="list-group list-group-flush list-unstyled text-muted mt-3">
          <li class="mb-3 fw-light"><?php echo $site->description(); ?></li>
        </ul>
      </div>
      <div class="col-md-12 border-top small pt-3 mt-4">Copyright &copy; 2021 <?php echo $site->title(); ?>. All Rights Reserved. Powered by <a class="fw-bold text-success text-decoration-none" href="https://www.bludit.com">Bludit</a> | Theme by <a class="fw-bold text-success text-decoration-none" href="https://blthemes.com">BlThemes</a></div>
    </div>
  </div>
</footer>