Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #1248 from johnSchnake/docRedirects
Browse files Browse the repository at this point in the history
Fix doc redirects
  • Loading branch information
jonasrosland committed May 6, 2021
2 parents 903e46f + b6788a1 commit 928cab5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion site/themes/sonobuoy/layouts/index.redirects
@@ -1,4 +1,5 @@
{{ $latest := (cond (.Site.Params.docs_versioning) .Site.Params.docs_latest "") }}
/docs /docs/{{ $latest }} 301!
/docs/latest /docs/{{ $latest }}
/docs/latest/* /docs/{{ $latest }}/:splat
/docs/latest/* /docs/{{ $latest }}/:splat
/docs/* /docs/{{ $latest }}/:splat

0 comments on commit 928cab5

Please sign in to comment.