mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01: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">
|
||||
<a
|
||||
class="md-version__link"
|
||||
href={`${new URL(version.version, config.base)}`}
|
||||
href={`${new URL(`${version.version}/`, config.base)}`}
|
||||
>
|
||||
{version.title}
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user