From b6ffcbc8f0a9518df931da7886a4dd2c1434006f Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Fri, 17 Feb 2023 11:34:30 +0100 Subject: [PATCH] fixed toc links in program --- layouts/partials/programs/toc.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/partials/programs/toc.html b/layouts/partials/programs/toc.html index 42a04f3a..2a0746a9 100644 --- a/layouts/partials/programs/toc.html +++ b/layouts/partials/programs/toc.html @@ -42,7 +42,7 @@ </ol> </li> <li> - <a href="#pedagogy">{{ i18n "programs.toc.pedagogy" }}</a> + <a href="#{{ urlize (i18n "programs.toc.pedagogy") }}">{{ i18n "programs.toc.pedagogy" }}</a> {{- if or $content $pedagogy $evaluation $teachers }} <ol> {{- if $content -}} @@ -61,7 +61,7 @@ {{ end -}} </li> <li> - <a href="#results">{{ i18n "programs.toc.results" }}</a> + <a href="#{{ urlize (i18n "programs.toc.results") }}">{{ i18n "programs.toc.results" }}</a> {{- if or $opportunities $results }} <ol> {{- if $opportunities -}} @@ -74,7 +74,7 @@ {{ end -}} </li> <li> - <a href="#admission">{{ i18n "programs.toc.admission" }}</a> + <a href="#{{ urlize (i18n "programs.toc.admission") }}">{{ i18n "programs.toc.admission" }}</a> {{- if or $prerequisites $pricing $registration $accessibility $other $roles $contacts }} <ol> {{- if $prerequisites -}} -- GitLab