mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added trailing slash to version selector URL (#2434)
* Add trailing slash to version selector URL's * Use template literal syntax * Remove whitespace
This commit is contained in:
parent
ff2ade3ca8
commit
9fe820010e
@ -68,7 +68,7 @@ export function renderVersionSelector(versions: Version[]): HTMLElement {
|
|||||||
<li class="md-version__item">
|
<li class="md-version__item">
|
||||||
<a
|
<a
|
||||||
class="md-version__link"
|
class="md-version__link"
|
||||||
href={`${new URL(version.version, config.base)}`}
|
href={`${new URL(`${version.version}/`, config.base)}`}
|
||||||
>
|
>
|
||||||
{version.title}
|
{version.title}
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user