-
|
For the top navigation bar I am using this configuration: .topNavigationBar(
// homeLink undefined, so use landing page
navLinks = Seq(
IconLink.internal(
Root / "api" / "index.html",
HeliumIcon.api,
options = Styles("svg-link")
),
IconLink.external(
browsableLink,
HeliumIcon.github,
options = Styles("svg-link")
)
)When I open the page locally I have the URL: This is correct because the root is: I would like however to retain the TIA |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
The PrettyURLs bundle is different, it changes For the base case where targets which are already named |
Beta Was this translation helpful? Give feedback.
The PrettyURLs bundle is different, it changes
foo.htmlintofoo/index.htmlso that no link has any.htmlextension.For the base case where targets which are already named
index.htmlhave the URLs trimmed there is no configuration option to toggle this behaviour (and unfortunately it's a bit too complicated to justify a new option for this & you are also the first to ever ask for this). Which means the remaining option is to customize the renderer forSpanLinkas described in https://typelevel.org/Laika/latest/04-customizing-laika/06-overriding-renderers.html