mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-29 16:54:12 +02:00
Fix language-specific redirects
This commit is contained in:
parent
e8602923dd
commit
1fe17fd838
@ -26,7 +26,7 @@ redirect "index.html", to: "#{$last_version}/en/index.html"
|
||||
|
||||
$languages.each do |language|
|
||||
language_param = language.last.parameterize
|
||||
redirect "#{language.first}/", to: "#{$last_version}/#{language.first}/"
|
||||
redirect "#{language.first}/index.html", to: "#{$last_version}/#{language.first}/index.html"
|
||||
end
|
||||
|
||||
# ----- Assets ----- #
|
||||
|
Loading…
x
Reference in New Issue
Block a user