From 6be17655fa0694ff751412bf6aea4ce1bae4a747 Mon Sep 17 00:00:00 2001 From: Eve Martin Date: Fri, 6 Sep 2024 15:50:27 +0000 Subject: [PATCH] change page titles for Python Den --- game/templates/game/base.html | 8 +++++++- game/templates/game/basenonav.html | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/game/templates/game/base.html b/game/templates/game/base.html index f8f20cc1d..faacf2d43 100644 --- a/game/templates/game/base.html +++ b/game/templates/game/base.html @@ -14,7 +14,13 @@ {% endblock %} -{% block title %}Code for Life - Rapid Router{% endblock %} +{% block title %} + {% if "rapidrouter" in request.path %} + Code for Life - Rapid Router + {% else %} + Code for Life - Python Den + {% endif %} +{% endblock %} {% block head %} {% include 'game/crowdin.html' %} diff --git a/game/templates/game/basenonav.html b/game/templates/game/basenonav.html index 864dff384..2b9d7c96e 100644 --- a/game/templates/game/basenonav.html +++ b/game/templates/game/basenonav.html @@ -15,7 +15,13 @@ {% endblock css %} -{% block title %}Code for Life - Rapid Router{% endblock %} +{% block title %} + {% if "rapidrouter" in request.path %} + Code for Life - Rapid Router + {% else %} + Code for Life - Python Den + {% endif %} +{% endblock %} {% block topBar %} {% endblock topBar %}