Skip to content

Commit 1b0537b

Browse files
committed
Add homeLink in topNavigationBar
1 parent aa74e9d commit 1b0537b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

build.sbt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ lazy val example = project
5555
.enablePlugins(NoPublishPlugin)
5656
.dependsOn(lucene)
5757

58+
import laika.ast.Path.Root
59+
import laika.helium.config.{IconLink, HeliumIcon}
5860
lazy val docs = project
5961
.in(file("site"))
6062
.enablePlugins(TypelevelSitePlugin)
@@ -67,7 +69,9 @@ lazy val docs = project
6769
TypelevelProject.Fs2,
6870
),
6971
tlSiteHelium := {
70-
tlSiteHelium.value.site.darkMode.disabled
72+
tlSiteHelium.value.site.darkMode.disabled.site.topNavigationBar(
73+
homeLink = IconLink.external("https://github.com/valencik/textmogrify", HeliumIcon.home)
74+
)
7175
},
7276
)
7377

0 commit comments

Comments
 (0)