diff options
author | Louis Pilfold <louis@lpil.uk> | 2024-01-18 20:22:48 +0000 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-01-18 20:22:48 +0000 |
commit | 8d93f5ab2a04a9f2f8eb23b11617d83fad1c5316 (patch) | |
tree | 46c12b405cd098a8e51ec2c616d45e90af4968db /src/tour.gleam | |
parent | 0a3b9ac5d4c3043828e6fcebcca9fac63a4df983 (diff) | |
download | tour-8d93f5ab2a04a9f2f8eb23b11617d83fad1c5316.tar.gz tour-8d93f5ab2a04a9f2f8eb23b11617d83fad1c5316.zip |
Links
Diffstat (limited to 'src/tour.gleam')
-rw-r--r-- | src/tour.gleam | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tour.gleam b/src/tour.gleam index ecf11cf..1bc68e4 100644 --- a/src/tour.gleam +++ b/src/tour.gleam @@ -510,6 +510,7 @@ fn lesson_html(page: Lesson) -> String { let metaprop = fn(property, content) { h("meta", [#("property", property), #("content", content)], []) } + let link = fn(rel, href) { h("link", [#("rel", rel), #("href", href)], []) } let title = page.name <> " - The Gleam Language Tour" let description = @@ -538,7 +539,8 @@ fn lesson_html(page: Lesson) -> String { metaprop("twitter:title", title), metaprop("twitter:description", description), metaprop("twitter:image", "https://gleam.run/images/og-image.png"), - h("link", [#("rel", "stylesheet"), #("href", "/style.css")], []), + link("shortcut icon", "https://gleam.run/images/lucy-circle.svg"), + link("stylesheet", "/style.css"), ]), h("body", [], [ h("nav", [#("class", "navbar")], [ |