<footer class="site-footer clearfix">
  <div class="wrapper">
    {% if site.data.footer-links %}
    <div id="footerlinks">
      {% assign footerlinks = site.data.footer-links %}&nbsp;|&nbsp; {% for
      footerlink in footerlinks %} {% assign fkey = footerlink | first %}
      <a href="{{footerlinks[fkey].href}}" title="{{footerlinks[fkey].title}}"
        >{{footerlinks[fkey].title}}</a
      >&nbsp;|&nbsp; {% endfor %}
    </div>
    {% endif %} {% if site.data.social-media %}
    <div id="social-media">
      {% assign sm = site.data.social-media %} {% for entry in sm%} {% assign
      key = entry | first %} {% if sm[key].footer %} {% if sm[key].id %}
      <a
        href="{{sm[key].href}}{{sm[key].id}}"
        title="{{sm[key].title}}"
        target="_blank"
        rel="noopener {{sm[key].rel}}"
        ><img
          src="/assets/images/sm_logos/{{sm[key].logo]}}"
          height="32px"
          alt="{{sm[key].link}}"
      /></a>
      {% endif %} {% endif %} {% endfor %}
    </div>
    {% endif %}
    <p>
      Handmade with <span class="entypo red">♥</span> in
      <a
        href="https://www.stadt-stade.info/"
        target="_blank"
        rel="noopener noreferrer"
        >Hansestadt Stade</a
      ><br />&copy; {{'now' | date: "%Y"}} Nico Jensen
    </p>
  </div>
</footer>
