{% block head %} Python Discord | {% block title %}{% endblock %} {% endblock %} {% block extra_head %} {% endblock %}
{% include "main/navigation.html" %}
    {% if data is defined and current_page == "wiki.page" %} {% if "headers" in data and data.headers %}
  • Contents
  • {% for header in data.headers %} {% if "sub_headers" in header %}
  • {{ header.title | safe }}
  • {% else %}
  • {{ header.title | safe }}
  • {% endif %} {% endfor %}
  • {% endif %} {% endif %}
  • Pages
  •  Home
  •  Code Jams
  •  Contributing
  • {% set ACTIONABLE_PAGES = [ "wiki.page", "wiki.edit", "wiki.history.show", "wiki.history.compare", "wiki.source", "wiki.delete", "wiki.move" ] %} {% set actionable = current_page in ACTIONABLE_PAGES and can_edit %} {% if actionable %}
  • Actions
  • {% if current_page == "wiki.edit" %}
  •  Back
  • {% else %}
  •  Edit
  • {% endif %} {% if current_page == "wiki.delete" %}
  •  Back
  • {% else %}
  •  Delete
  • {% endif %} {% if current_page == "wiki.move" %}
  •  Back
  • {% else %}
  •  Move
  • {% endif %} {% if current_page == "wiki.history.show" %}
  •  Back
  • {% elif current_page == "wiki.history.compare" %}
  •  Back
  • {% else %}
  •  Revisions
  • {% endif %} {% if current_page == "wiki.source" %}
  •  Back
  • {% else %}
  •  Source
  • {% endif %} {% endif %}
  • Information
  •  Special Pages
  •  Help
  • {% if query is undefined %} {% else %} {% endif %}
{% block content %}{% endblock %}