{% extends "!page.html" %}

{% block footer %}
<div class="related-pages">
  {% if next -%}
    <a class="next-page" href="{{ next.link }}">
      <div class="page-info">
        <div class="context"><span>{{ _("Next") }}</span></div>
        <div class="title">{{ next.title }}</div>
      </div>
      <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
    </a>
  {%- endif %}
  {% if prev -%}
    <a class="prev-page" href="{{ prev.link }}">
      <svg class="furo-related-icon"><use href="#svg-arrow-right"></use></svg>
      <div class="page-info">
        <div class="context"><span>{{ _("Previous") }}</span></div>
        {% if prev.link == pathto(master_doc) %}
        <div class="title">{{ _("Home") }}</div>
        {% else %}
        <div class="title">{{ prev.title }}</div>
        {% endif %}
      </div>
    </a>
  {%- endif %}
</div>
<div class="bottom-of-page">
  <div class="left-details">
    <div class="copyright">
      Copyright &#169; 2025&ndash;2026,
      <a href="https://freestylerscientist.pl/">Pawe&#322; Lenartowicz</a>.
      Licensed under
      <a href="https://www.gnu.org/licenses/gpl-3.0.html">GPL-3.0</a>.
    </div>
  </div>
  <div class="right-details">
    {% if theme_footer_icons -%}
    <div class="icons">
      {% for icon_dict in theme_footer_icons -%}
      <a class="muted-link {{ icon_dict.class }}" href="{{ icon_dict.url }}" aria-label="{{ icon_dict.name }}">
        {{- icon_dict.html -}}
      </a>
      {% endfor %}
    </div>
    {%- endif %}
  </div>
</div>
{% endblock footer %}
