Debian Codegraph @

docs/_templates/edit-this-page.html

raw
1 {% if sourcename is defined and theme_use_edit_page_button and page_source_suffix %}
2 {% set src = sourcename.split('.') %}
3 <div class="tocsection editthispage">
4 <a href="{{ to_main(get_edit_provider_and_url()[1]) }}">
5 <i class="fa-solid fa-pencil"></i>
6 {% set provider = get_edit_provider_and_url()[0] %}
7 {% block edit_this_page_text %}
8 {% if provider %}
9 {% trans provider=provider %}Edit on {{ provider }}{% endtrans %}
10 {% else %}
11 {% trans %}Edit{% endtrans %}
12 {% endif %}
13 {% endblock %}
14 </a>
15 </div>
16 {% endif %}