diff --git a/layouts/test/single.html b/layouts/test/single.html
index 7d04737..96c72ea 100644
--- a/layouts/test/single.html
+++ b/layouts/test/single.html
@@ -347,11 +347,13 @@
{{ $title }}
{{ $test := partial "test/single.html" . }}
{{ $tesAbsPath := .RelPermalink }}
+{{ $curriculaRoot := .RelPermalink | strings.TrimSuffix "/" | strings.TrimSuffix "/test" }}