From 038bdfd8a10d361b6ba8f8bca93affc71aecf436 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Thu, 21 Dec 2023 10:28:28 +0100
Subject: [PATCH] fix hardcoded title

---
 main/templates/main/main_crossroad_page.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/main/templates/main/main_crossroad_page.html b/main/templates/main/main_crossroad_page.html
index a075c55f..cbe0e47d 100644
--- a/main/templates/main/main_crossroad_page.html
+++ b/main/templates/main/main_crossroad_page.html
@@ -2,8 +2,8 @@
 {% load wagtailcore_tags %}
 
 {% block content %}
-  {% include 'main/includes/organisms/layout/navbar.html' with selected_item='Kdo jsme' %}
-  {% include 'main/includes/organisms/header/simple_header.html' with title='Týmy' %}
+  {% include 'main/includes/organisms/layout/navbar.html' with selected_item=page.title %}
+  {% include 'main/includes/organisms/header/simple_header.html' with title=page.title %}
 
   <main role="main" class="mb-10 xl:mb-32">
     <div class="mb-2 lg:mb-12 container--wide">
-- 
GitLab