feat: optional trailing slash in menu links

Enabled by default.

Drops the `$BASE_URL` transformation to avoid confusion (#99).
This commit is contained in:
welpo 2023-08-01 14:11:05 +02:00
parent ae47f79d9d
commit f9c18b0398
No known key found for this signature in database
GPG key ID: A2F978CF4EC1F5A6
3 changed files with 7 additions and 6 deletions

View file

@ -162,10 +162,10 @@ favicon_emoji = "🌱"
headerImage = ""
menu = [
{ name = "blog", url = "blog/" },
{ name = "archive", url = "archive/" },
{ name = "tags", url = "tags/" },
{ name = "projects", url = "projects/" },
{ name = "blog", url = "blog", trailing_slash = true },
{ name = "archive", url = "archive", trailing_slash = true },
{ name = "tags", url = "tags", trailing_slash = true },
{ name = "projects", url = "projects", trailing_slash = true },
]
# The RSS icon will be shown if (1) it's enabled and (2) the following variable is set to true.