1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

docs: don't suffix page permalink with a slash

As it breaks relative links to other pages. For example, the
BOOT_LOADER_INTERFACE page has a relative link to
AUTOMATIC_BOOT_ASSESSMENT. With a slash in the page's permalink, that
link leads to:

http://127.0.0.1:4000/BOOT_LOADER_INTERFACE/AUTOMATIC_BOOT_ASSESSMENT

which is incorrect. Dropping the trailing slash makes the link link to
the correct place:

http://127.0.0.1:4000/AUTOMATIC_BOOT_ASSESSMENT

Resolves: #32088
This commit is contained in:
Frantisek Sumsal 2024-04-10 17:21:42 +02:00 committed by Zbigniew Jędrzejewski-Szmek
parent 9bfabe14e5
commit d1a7e030c5

View File

@ -4,7 +4,7 @@ title: systemd
baseurl: "" # the subpath of your site, e.g. /blog/
url: "https://systemd.io" # the base hostname & protocol for your site
permalink: /:title/
permalink: /:title
# Build settings
markdown: kramdown