From: Frantisek Sumsal Date: Wed, 10 Apr 2024 15:21:42 +0000 (+0200) Subject: docs: don't suffix page permalink with a slash X-Git-Tag: v256-rc1~192 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1a7e030c5daa4a09ee93b8af6b28ecaac5d34d0;p=thirdparty%2Fsystemd.git 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 --- diff --git a/docs/_config.yml b/docs/_config.yml index 412db1f413f..e8b9eea8cd3 100644 --- a/docs/_config.yml +++ b/docs/_config.yml @@ -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