{{/if}} // The page path (mdbook only gives us // access to the path to the Markdown file). let path = "{{ path }}".replace(/\.md$/, ".html"); for (let lang of langList.querySelectorAll("a")) { if (lang.id == "en") { lang.href = `${full_path_to_root}${path}`; } else { lang.href = `${full_path_to_root}${lang.id}/${path}`; } } {{#if print_enable}} {{/if}} {{#if git_repository_url}}