aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2022-01-27 10:21:38 +0100
committerGravatar Leon Sandøy <[email protected]>2022-01-27 10:21:38 +0100
commit231ed09ec52ca9c05bc5697310f49824f05ff63e (patch)
tree685bec68d01f0328d2d4622379a330ec0eaaed7b /pydis_site
parentAdd a template tag for css-classifying things. (diff)
Add a FontAwesome token that we actually control.
Previously we were using some sort of borrowed token, but it seems to not be working anymore for local sessions, so let's just get rid of it.
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/settings.py2
-rw-r--r--pydis_site/templates/base/base.html5
-rw-r--r--pydis_site/templates/base/navbar.html3
3 files changed, 2 insertions, 8 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 5a8e9be7..3b146f2c 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -271,8 +271,8 @@ BULMA_SETTINGS = {
"extensions": [
"bulma-dropdown",
"bulma-navbar-burger",
- "bulma-modal",
],
+ "fontawesome_token": "ff22cb6f41",
}
# Information about site repository
diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html
index 906fc577..b7322f12 100644
--- a/pydis_site/templates/base/base.html
+++ b/pydis_site/templates/base/base.html
@@ -24,10 +24,7 @@
<title>Python Discord | {% block title %}Website{% endblock %}</title>
{% bulma %}
-
- {# Font-awesome here is defined explicitly so that we can have Pro #}
- <script src="https://kit.fontawesome.com/ae6a3152d8.js"></script>
-
+ {% font_awesome %}
<link rel="stylesheet" href="{% static "css/base/base.css" %}">
{% block head %}{% endblock %}
diff --git a/pydis_site/templates/base/navbar.html b/pydis_site/templates/base/navbar.html
index 18ff7efa..48ade189 100644
--- a/pydis_site/templates/base/navbar.html
+++ b/pydis_site/templates/base/navbar.html
@@ -67,9 +67,6 @@
<a class="navbar-item" href="{% url "resources:index" %}">
Resources
</a>
- <a class="navbar-item" href="{% url "resources:resources" %}">
- Tools
- </a>
<a class="navbar-item" href="{% url "events:index" %}">
Events
</a>