diff options
Diffstat (limited to 'pydis_site')
-rw-r--r-- | pydis_site/templates/content/base.html | 1 | ||||
-rw-r--r-- | pydis_site/templates/content/page.html | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/pydis_site/templates/content/base.html b/pydis_site/templates/content/base.html index 8f6fd1d8..2fd721a3 100644 --- a/pydis_site/templates/content/base.html +++ b/pydis_site/templates/content/base.html @@ -1,6 +1,5 @@ {% extends 'base/base.html' %} {% load static %} -{% load page_src %} {% block title %}{{ page_title }}{% endblock %} {% block head %} diff --git a/pydis_site/templates/content/page.html b/pydis_site/templates/content/page.html index 679ecec6..57677243 100644 --- a/pydis_site/templates/content/page.html +++ b/pydis_site/templates/content/page.html @@ -1,6 +1,12 @@ {% extends 'content/base.html' %} +{% load page_src %} {% block page_content %} + <p><a href="{{ request.path | page_src_url }}"> + <i class="fa-solid fa-pencil"></i> + <b>Edit on GitHub</b> + </a></p> + <h1 class="title is-flex">{{ page_title }}</h1> {% if relevant_links or toc %} <div class="columns is-variable is-8"> <div class="column is-two-thirds"> |