Skip to content

Commit

Permalink
Add homeLink in topNavigationBar
Browse files Browse the repository at this point in the history
  • Loading branch information
valencik committed Oct 21, 2022
1 parent aa74e9d commit 1b0537b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ lazy val example = project
.enablePlugins(NoPublishPlugin)
.dependsOn(lucene)

import laika.ast.Path.Root
import laika.helium.config.{IconLink, HeliumIcon}
lazy val docs = project
.in(file("site"))
.enablePlugins(TypelevelSitePlugin)
Expand All @@ -67,7 +69,9 @@ lazy val docs = project
TypelevelProject.Fs2,
),
tlSiteHelium := {
tlSiteHelium.value.site.darkMode.disabled
tlSiteHelium.value.site.darkMode.disabled.site.topNavigationBar(
homeLink = IconLink.external("https://github.com/valencik/textmogrify", HeliumIcon.home)
)
},
)

Expand Down

0 comments on commit 1b0537b

Please sign in to comment.