diff --git a/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html b/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html index 3d9244153a..c772b38e0d 100644 --- a/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html +++ b/documentation/themes/beastie/layouts/shortcodes/list-articles-directories.html @@ -14,7 +14,7 @@ {{ if in .path "_index.adoc" }} {{ $articlePath := replaceRE "/_index.adoc" "" .path }} {{ $articleName := replaceRE "articles/" "" $articlePath }} - <li><a href="{{ $articlePath }}">{{ $articleName }}</a></li> + <li><a href="{{ $articlePath | relLangURL }}">{{ $articleName }}</a></li> {{ end }} {{ end }} </ul> diff --git a/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html b/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html index dbdbd3a2ea..d1eda384d5 100644 --- a/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html +++ b/documentation/themes/beastie/layouts/shortcodes/list-books-directories.html @@ -14,7 +14,7 @@ {{ if in .path "_index.adoc" }} {{ $bookPath := replaceRE "/_index.adoc" "" .path }} {{ $bookName := replaceRE "books/" "" $bookPath }} - <li><a href="{{ $bookPath }}">{{ $bookName }}</a></li> + <li><a href="{{ $bookPath | relLangURL }}">{{ $bookName }}</a></li> {{ end }} {{ end }} </ul>