From 8571bb9d6ea7f3671e2244721c8b3e35d7d795fc Mon Sep 17 00:00:00 2001 From: Jonas Hartmann Date: Mon, 29 Apr 2024 15:43:25 +0200 Subject: [PATCH] add what --- src/tour.gleam | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tour.gleam b/src/tour.gleam index be26ffa..0bfd9cf 100644 --- a/src/tour.gleam +++ b/src/tour.gleam @@ -293,6 +293,9 @@ fn contents_list_html(chapters: List(Chapter)) -> String { ]), ..chapters ] + |> list.append([ + h("p", [], [h("a", [#("href", path_what_next)], [text("What's next…?")])]), + ]) |> list.map(render_html) |> string.join("\n") }