{% extends "!page.html" %}
{% block body %}
<p>
  <strong>
    {% if current_version.is_released %}
      <p style="border:3px; border-style:solid; border-color:#ad6228; padding: 1em;">
        You are currently reading the MNE-NIRS documentation for release version {{ current_version.name }}.
        To view the documentation for the latest development version <a href="https://mne.tools/mne-nirs/main/index.html">click here.</a>
      </p>
    {% else %}
      <p style="border:3px; border-style:solid; border-color:#24872b; padding: 1em;">
        You are currently reading the latest MNE-NIRS development version documentation.
        If you wish to view the documentation associated with a stable release,
        use the blue dropdown menu in the top right corner of the page.
      </p>
    {% endif %}
  </strong>
</p>
{{ super() }}
{% endblock %}%
