Skip to content

Commit 9909247

Browse files
committed
hugo: move manuals permalink config to hugo.yaml
Signed-off-by: David Karlsson <[email protected]>
1 parent df66fbd commit 9909247

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

content/manuals/_index.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ description: Learn how to install, set up, configure, and use Docker products wi
44
keywords: docker, docs, manuals, products, user guides, how-to
55
# hard-code the URL of this page
66
url: /manuals/
7-
# remove the /manuals/ prefix for pages in this section
8-
cascade:
9-
- url: /:sections[1:]/:slugorfilename
107
notoc: true
118
development:
129
- title: Docker Desktop

hugo.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ enableInlineShortcodes: true
88
taxonomies:
99
tag: tags
1010

11+
permalinks:
12+
page:
13+
manuals: /:sections[1:]/:slugorfilename/
14+
section:
15+
manuals: /:sections[1:]/:slugorfilename/
16+
1117
markup:
1218
tableOfContents:
1319
startLevel: 2

0 commit comments

Comments
 (0)