diff --git a/tad/site/templates/default_layout.jinja b/tad/site/templates/default_layout.jinja index b797cd76..be5c3fb0 100644 --- a/tad/site/templates/default_layout.jinja +++ b/tad/site/templates/default_layout.jinja @@ -16,7 +16,7 @@ - {{ page_title }} + {% block title %}Transparency of Algorithmic Decision making (TAD){% endblock %} diff --git a/tests/api/routes/test_root.py b/tests/api/routes/test_root.py index 5ce1d71e..6ff8b1f8 100644 --- a/tests/api/routes/test_root.py +++ b/tests/api/routes/test_root.py @@ -8,7 +8,7 @@ def test_get_root(client: TestClient) -> None: # todo (robbert) this is a quick test to see if we (most likely) get the expected page assert response.status_code == 200 assert response.headers["content-type"] == "text/html; charset=utf-8" - assert b"This is the page title" in response.content + assert b"Transparency of Algorithmic Decision making (TAD)" in response.content def test_get_favicon(client: TestClient) -> None: