Skip to content

Commit

Permalink
Adjust redirect rules
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jun 14, 2024
1 parent 691f08d commit bcb946f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/ja/docs/specs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ linkTitle: Specs ↗
description: _Redirect page_
weight: 960
# _build: { render: link }
redirect: /docs/specs # TODO: this will need to be /en/...
redirects: [{ from: '*', to: ':splat' }]
redirect: /en/docs/specs
redirects: [{ from: '*', to: '/en/docs/specs/:splat' }]
default_lang_commit: 3b44fbfa49ced919daea01123abfaed836d2d0ec
---

Expand Down
2 changes: 2 additions & 0 deletions layouts/partials/redirects/sites.redirects
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

{{/* Process non-default languages. */ -}}

/ja/docs/specs /en/docs/specs/

{{ range after 1 .Sites -}}

{{ $siteLang := .Language.Lang -}}
Expand Down

0 comments on commit bcb946f

Please sign in to comment.