{%- extends "!footer.html" %} {% if page_source_suffix %} {% set suffix = page_source_suffix %} {% else %} {% set suffix = source_suffix %} {% endif %} {% if meta is defined and meta is not none %} {% set check_meta = True %} {% else %} {% set check_meta = False %} {% endif %} {% if check_meta and 'github_url' in meta %} {% set display_github = True %} {% endif %} {% set display_vcs_links = display_vcs_links if display_vcs_links is defined else True %} {% block extrafooter %}
{% if hasdoc(pagename) and display_vcs_links %} {% if display_github %} {% if check_meta and 'github_url' in meta %} {{ _('Edit on GitHub') }}{{ reldelim2 }} {% else %} {{ _('Edit on GitHub') }}{{ reldelim2 }} {% endif %} {% elif show_source and source_url_prefix %} {{ _('Page Source') }}{{ reldelim2 }} {% elif show_source and has_source and sourcename %} {{ _('Page Source') }}{{ reldelim2 }} {% endif %} {% endif %} Back to Top
{% endblock %}