From 140ef976ac981c69ddb63df8e816d5cf930e618e Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Mon, 1 Mar 2021 08:50:02 +0100 Subject: [PATCH] =?UTF-8?q?Kr=C3=A1tk=C3=BD=20n=C3=A1zev=20polo=C5=BEky=20?= =?UTF-8?q?v=20navigaci?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #14 --- content/uchazeci/prijimaci_rizeni/_index.md | 3 +++ templates/macros.html | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/content/uchazeci/prijimaci_rizeni/_index.md b/content/uchazeci/prijimaci_rizeni/_index.md index 15210aa..bd3b917 100644 --- a/content/uchazeci/prijimaci_rizeni/_index.md +++ b/content/uchazeci/prijimaci_rizeni/_index.md @@ -1,5 +1,8 @@ +++ title = "Přijímací řízení pro rok 2021/2022" + +[extra] +short_title = "Přijímací řízení" +++ Na katedře informačních technologií a technické výchovy Pedagogické diff --git a/templates/macros.html b/templates/macros.html index 8e47176..5a27d45 100644 --- a/templates/macros.html +++ b/templates/macros.html @@ -34,7 +34,11 @@ ♣ {% endif %} - {{ subsection.title }} + {% if subsection.extra.short_title %} + {{ subsection.extra.short_title }} + {% else %} + {{ subsection.title }} + {% endif %} {% endfor %}