hugo: move manuals permalink config to hugo.yaml

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
David Karlsson
2024-09-10 13:28:11 +02:00
parent df66fbd72d
commit 9909247557
2 changed files with 6 additions and 3 deletions

View File

@@ -4,9 +4,6 @@ description: Learn how to install, set up, configure, and use Docker products wi
keywords: docker, docs, manuals, products, user guides, how-to
# hard-code the URL of this page
url: /manuals/
# remove the /manuals/ prefix for pages in this section
cascade:
- url: /:sections[1:]/:slugorfilename
notoc: true
development:
- title: Docker Desktop

View File

@@ -8,6 +8,12 @@ enableInlineShortcodes: true
taxonomies:
tag: tags
permalinks:
page:
manuals: /:sections[1:]/:slugorfilename/
section:
manuals: /:sections[1:]/:slugorfilename/
markup:
tableOfContents:
startLevel: 2