Skip to content

Commit 82eba5d

Browse files
fix: add trailing slash to tutorial links (#701)
1 parent 142f6c8 commit 82eba5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/verso-tutorial/VersoTutorial.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def toSite (tuts : Tutorials) : EmitM Blog.Site := do
467467
let some m := tut.metadata
468468
| return none
469469
return some {
470-
term := #[.link (← tut.title.mapM inlineToPage) s!"./{m.slug}"],
470+
term := #[.link (← tut.title.mapM inlineToPage) s!"./{m.slug}/"],
471471
desc := tut.metadata.map (.para #[.text <| ·.summary]) |>.toArray
472472
}
473473
return { t with

0 commit comments

Comments
 (0)