Skip to content

Commit 89eb0ae

Browse files
committed
Fix TOC links
1 parent d18599f commit 89eb0ae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/templates/layout/dashboard.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{{ parent() }}
55
{% if page is defined and page.getVersion() is not null %}
66
{% set route = page.getRoute() %}
7-
{% set base_href = route ~ (route ends with '/' ? '' : '/') %}
7+
{% set base_href = route == '' ? '/' : route %}
88
<base href="{{ base_href }}">
99
{% endif %}
1010
{% endblock %}

0 commit comments

Comments
 (0)