diff options
author | 2023-05-10 13:54:15 +0200 | |
---|---|---|
committer | 2023-05-10 13:54:17 +0200 | |
commit | 3cc0dc390bb2635a1192b669f543410d8fd1e59a (patch) | |
tree | fa831f73aaecf1595cbb714ec5627337dcdbe5a2 /pydis_site/templates | |
parent | Merge pull request #968 from python-discord/ruff (diff) |
Do not duplicate "Edit on GitHub" link for tags
Closes #963.
Diffstat (limited to 'pydis_site/templates')
-rw-r--r-- | pydis_site/templates/content/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/templates/content/base.html b/pydis_site/templates/content/base.html index b04c7efa..bda6d954 100644 --- a/pydis_site/templates/content/base.html +++ b/pydis_site/templates/content/base.html @@ -37,7 +37,7 @@ {% include "content/dropdown.html" %} {% endif %} {# Edit on GitHub for content articles #} - {% if page %} + {% if page and not tag %} <div id="edit-on-github"> <a href="{{ request.path | page_src_url }}"> <i class="fa-solid fa-pencil"></i> |