aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar jchristgit <[email protected]>2023-07-15 15:04:32 +0200
committerGravatar GitHub <[email protected]>2023-07-15 14:04:32 +0100
commit096665e49dbd610f6b9d2ad38fd4302051c076ae (patch)
treeda41ac2cd2ad527ee17977e621106315a2bf376c /pydis_site
parentFix broken image links for kivy (#1032) (diff)
Fix empty <h1> tag on page listing (#1033)
Closes #1026.
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/templates/content/listing.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/templates/content/listing.html b/pydis_site/templates/content/listing.html
index 934b95f6..bbdd54b0 100644
--- a/pydis_site/templates/content/listing.html
+++ b/pydis_site/templates/content/listing.html
@@ -3,8 +3,8 @@
{% load static %}
{# Show a GitHub button on tag pages #}
-{% block title_element %}
{% if is_tag_listing %}
+{% block title_element %}
<link rel="stylesheet" href="{% static "css/content/color.css" %}">
<div class="level">
<div class="level-left">{{ block.super }}</div>
@@ -12,8 +12,8 @@
<a class="level-item fab fa-github" href="{{ tag_url }}"></a>
</div>
</div>
-{% endif %}
{% endblock %}
+{% endif %}
{% block page_content %}
{# Nested Categories #}