<!--
  The Footer
  © 2017-2019 Cotes Chung
  MIT License
-->

<footer class="d-flex w-100 justify-content-center">
  <div class="d-flex justify-content-between  align-items-center">
    <div class="copyright">
      {% assign first = site.first_run | plus: 0 %}
      {% assign last = 'now' | date: "%Y" | plus: 0 %}
      <p class="mb-0">
        © {% if last > first %}{{ first }}-{% endif %}{{-last-}}
        <a href="{{ site.social.links[0] }}" class="ml-1">{{ site.social.name }}</a>.
        <br>Powered by <a href="https://jekyllrb.com" target="_blank">Jekyll</a> & <a href="https://github.com/cotes2020/jekyll-theme-chirpy/">Chirpy</a>, hosted on <a href="https://pages.github.com/" target="_blank">GitHub Pages</a>.
      </p>
    </div>
    <div class="license">
      <p class="mb-0">
        The blog posts on this site are licensed under the <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
      </p>
    </div>
  </div> <!-- div.d-flex -->
</footer>