Skip to content

Commit

Permalink
Fixed version selection
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Aug 11, 2021
1 parent 9de14b4 commit a4ccbbb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h1>{{ page.title | d(config.site_name, true)}}</h1>
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.a0ca7753.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.febc23d1.min.js' | url }}"></script>
{% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion src/assets/javascripts/templates/version/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function renderVersion(version: Version): HTMLElement {
const config = configuration()

/* Ensure trailing slash, see https://bit.ly/3rL5u3f */
const url = new URL(`${version.version}/`, config.base)
const url = new URL(`../${version.version}/`, config.base)
return (
<li class="md-version__item">
<a href={url.toString()} class="md-version__link">
Expand Down

0 comments on commit a4ccbbb

Please sign in to comment.