Ensure web_base does not end in /

This commit is contained in:
Joscha 2023-08-13 19:57:23 +02:00
parent 18e35184a5
commit 30ddf1e9b2
4 changed files with 23 additions and 19 deletions

View file

@ -9,7 +9,7 @@ use super::Base;
ext = "html",
source = "\
{% import \"util.html\" as util %}
<a href=\"{{ root }}commit/{{ hash }}\"
<a href=\"{{ root }}/commit/{{ hash }}\"
class=\"{% call util::commit_class(reachable) %}\"
title=\"{% call util::commit_title(reachable) %}\">
{{ short }}
@ -38,7 +38,7 @@ impl CommitLink {
#[template(
ext = "html",
source = "\
<a href=\"{{ root }}run/{{ id }}\">
<a href=\"{{ root }}/run/{{ id }}\">
Run of {{ short }}
</a>
"
@ -62,7 +62,7 @@ impl RunLink {
#[template(
ext = "html",
source = "\
<a href=\"{{ root }}worker/{{ name }}\">
<a href=\"{{ root }}/worker/{{ name }}\">
{{ name }}
</a>
"