mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-30 01:04:30 +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|
|
$languages.each do |language|
|
||||||
language_param = language.last.parameterize
|
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
|
end
|
||||||
|
|
||||||
# ----- Assets ----- #
|
# ----- Assets ----- #
|
||||||
|
Loading…
x
Reference in New Issue
Block a user