Skip to content

Commit

Permalink
change page titles for Python Den
Browse files Browse the repository at this point in the history
  • Loading branch information
evemartin committed Sep 6, 2024
1 parent 225225e commit 6be1765
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion game/templates/game/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@
<script type='text/javascript' src="{% static 'game/js/jquery.touchy.min.js' %}"></script>
{% 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' %}
Expand Down
8 changes: 7 additions & 1 deletion game/templates/game/basenonav.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,13 @@
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
{% 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 %}
Expand Down

0 comments on commit 6be1765

Please sign in to comment.