Skip to content
Snippets Groups Projects
Verified Commit 0f0b1901 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Show edit link in footer

parent b5b84710
No related branches found
No related tags found
No related merge requests found
Pipeline #27734 passed
Pipeline: schul-frei.dev

#27741

    Pipeline: hacknfun.camp

    #27740

      Pipeline: leopard.institute

      #27739

        +1
        ......@@ -97,13 +97,6 @@
        <main role="main">
        <!-- Main Content -->
        {% block content %}{% endblock %}
        <p class="licence">
        {% if article is defined %}
        {{ LICENCETEXTS[article.lang|default(DEFAULT_LANG)] }} {{ article.metadata.licence|default(LICENCE_DEFAULT) }}
        {% elif page is defined %}
        {{ LICENCETEXTS[DEFAULT_LANG] }} {{ page.metadata.licence|default(LICENCE_DEFAULT) }}
        {% endif %}
        </p>
        </main>
        <!-- Sponsoren-Footer -->
        ......@@ -148,6 +141,22 @@
        <p style="text-align: right">
        {{ FOOTERTEXT }}
        </p>
        <p class="licence">
        {% if article is defined %}
        {{ LICENCETEXTS[article.lang|default(DEFAULT_LANG)] }} {{ article.metadata.licence|default(LICENCE_DEFAULT) }}
        {% elif page is defined %}
        {{ LICENCETEXTS[DEFAULT_LANG] }} {{ page.metadata.licence|default(LICENCE_DEFAULT) }}
        {% endif %}
        <br/>
        {% if article is defined %}
        <a href="{{ GITWEB_BASE }}/content/{{ article.relative_source_path }}">Edit in source repository</a>
        {% elif page is defined %}
        <a href="{{ GITWEB_BASE }}/content/{{ page.relative_source_path }}">Edit in source repository</a>
        {% else %}
        <a href="{{ GITWEB_BASE }}/content">Edit in source repository</a>
        {% endif %}
        </p>
        </div>
        </div>
        </div>
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Finish editing this message first!
        Please register or to comment