Add redirects for old filters

master
Anton Smirnov 2 years ago
parent e361637659
commit f3085c210c

@ -40,6 +40,11 @@ data.services.keys.each do |service|
}, ignore: true
end
# Redirects
redirect 'filtered/1-level.html', to: '/1-level.html'
redirect 'filtered/2-level.html', to: '/'
# Helpers
# Methods defined in the helpers block are available in templates
# https://middlemanapp.com/basics/helper-methods/

@ -0,0 +1,11 @@
[[redirects]]
from = '/filtered/1-level.html'
to = '/1-level.html'
status = 301
force = true
[[redirects]]
from = '/filtered/2-level.html'
to = '/'
status = 301
force = true
Loading…
Cancel
Save