Back to Ansible

Breadcrumbs

docs/docsite/.templates/breadcrumbs.html

2.21.0b32.0 KB
Original Source

{%- extends "!breadcrumbs.html" %} {%- block breadcrumbs_aside %}

  • {%- if hasdoc(pagename) and display_vcs_links %} {%- if display_github %} {%- if check_meta and 'github_url' in meta %} {{ _('Edit on GitHub') }} {%- else %} {% if pagename == 'index' %}
    {% elif pagename.startswith('collections/') %}
    {% elif pagename == 'reference_appendices/config' %} [{{ _('Edit on GitHub') }}](https://{{%20github_host|default() {% elif pagename == 'reference_appendices/playbooks_keywords' %} [{{ _('Edit on GitHub') }}](https://{{%20github_host|default() {% elif pagename == 'dev_guide/collections_galaxy_meta' %} [{{ _('Edit on GitHub') }}](https://{{%20github_host|default() {% elif check_meta and pagename.startswith('cli') and meta.get('source', None) %} [{{ _('Edit on GitHub') }}](https://{{%20github_host|default() {% elif (not 'list_of' in pagename) and (not 'category' in pagename) %} [{{ _('Edit on GitHub') }}](https://{{%20github_host|default() {% endif %} {%- endif %} {%- elif display_bitbucket %} {%- if check_meta and 'bitbucket_url' in meta %} {{ _('Edit on Bitbucket') }} {%- else %} {{ _('Edit on Bitbucket') }} {%- endif %} {%- elif display_gitlab %} {%- if check_meta and 'gitlab_url' in meta %} {{ _('Edit on GitLab') }} {%- else %} [{{ _('Edit on GitLab') }}](https://{{%20gitlab_host|default() {%- endif %} {%- elif show_source and source_url_prefix %} {{ _('View page source') }} {%- elif show_source and has_source and sourcename %} {{ _('View page source') }} {%- endif %} {%- endif %} {%- endblock %}