Skip to content

Commit 3fdfaeb

Browse files
authored
Merge pull request #2937 from SpiffyEight77/docs/redirect-community
website: redirect to /docs/community
2 parents 9fdd4c8 + e44a982 commit 3fdfaeb

File tree

6 files changed

+10
-64
lines changed

6 files changed

+10
-64
lines changed

website/content/en/community/_index.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

website/data/helpfullinks.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
label: Get started with Lima
99
- header: Contributions welcome
1010
icon: fa-brands fa-github
11-
link: /community
11+
link: /docs/community
1212
label: Join the Lima community

website/hugo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,9 @@ enable = false
185185
name = "GitHub"
186186
url = "https://github.com/lima-vm/lima"
187187
pre = '<i class="fab fa-github"></i>'
188+
[[menus.main]]
189+
name = "Community"
190+
url = "/docs/community"
188191

189192
[module]
190193
# uncomment line below for temporary local development of module

website/layouts/community/list.html

Lines changed: 0 additions & 24 deletions
This file was deleted.

website/layouts/partials/community_links.html

Lines changed: 0 additions & 33 deletions
This file was deleted.

website/netlify.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,9 @@ GO_VERSION = "1.23.0"
1010

1111
[context.production]
1212
command = "make -C .. docsy && npm run build:production"
13+
14+
[[redirects]]
15+
from = "/community"
16+
to = "/docs/community"
17+
status = 301
18+
force = true

0 commit comments

Comments
 (0)