{% if builder not in ['epub'] %}
{%- if not pagename in ("search", "404", "genindex", "advanced/command_line/arguments") and hasdoc(pagename) %}
<div class="footer-contribute">
  <ul>
    <li>{# Add the `display=source` because GITEA's rendering misses Sphinx's features and shows warnings. #}
      <a href="https://projects.blender.org/blender/blender-manual/{#
              #}src/branch/main/manual/{{ pagename }}{{ page_source_suffix }}?display=source"> {{
        _('View Source') }}</a>
    </li>
    <li>
      <a href="https://translate.blender.org/zen/blender-manual/{#
              #}manual/{{ language }}/?q=location%3Amanual%2F{{ pagename }}"> {{ _('View Translation') }}</a>
    </li>
    <li>
      <a href="https://projects.blender.org/blender/documentation/issues/new?{#
              #}template=.gitea/issue_template/bug.yaml&field:{#
              #}body=%2A%2APage+Information%2A%2A%0D%0A{#
              #}File%3A+%60manual%2F{{ pagename }}{{ page_source_suffix }}%60%0D%0A{#
              #}Blender+Version%3A+%60{{ version }}%60%0D%0A{#
              #}Documentation+Language%3A+%60{{ language }}%60%0D%0A%5B{#
              #}Permanent+Link%5D%28https%3A%2F%2Fdocs.blender.org%2F{#
              #}manual%2F{{ language }}%2F{{ version }}%2F{{ pagename }}{{ file_suffix }}%29%0D%0A%0D%0A%2A%2A{#
              #}Short+description+of+error%2A%2A%0D%0A%5B{#
              #}Please+fill+out+a+short+description+of+the+error+here%5D%0D%0A"> {{ _('Report issue on this page') }}</a>
    </li>
  </ul>
</div>
{%- endif %}
{%- endif %}
