Skip to content

Commit 9bfa331

Browse files
committed
Include challenge name in title
1 parent 4583d39 commit 9bfa331

File tree

3 files changed

+2
-1
lines changed

3 files changed

+2
-1
lines changed

templates/base.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
<html lang="en" data-theme="light">
33
<head>
44
<meta charset="UTF-8">
5-
{% set title = "Python Type Challenges - Learn & Master Type Hints" %}
65
{% set description = "Learn Python typing (type hints) with interactive online exercises!" %}
76
{% block head %}{% endblock %}
87
<meta name="viewport" content="width=device-width, initial-scale=1.0">

templates/challenge.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{% extends "base.html" %}
22

3+
{% set title = "Python Type Challenges - " ~ name %}
34
{% block head %}
45
{{ super() }}
56

templates/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{% extends "base.html" %}
22

3+
{% set title = "Python Type Challenges - Learn & Master Type Hints" %}
34
{% block head %}
45
{{ super() }}
56
<title>{{title}}</title>

0 commit comments

Comments
 (0)