Redirect Google's Sass function search result

This doesn't include the ".html" suffix.
This commit is contained in:
Natalie Weizenbaum 2019-04-23 10:17:31 -07:00
parent 70075be617
commit e41557e859

View File

@ -23,6 +23,7 @@ use Rack::Rewrite do
r301 '/documentation/file.INDENTED_SYNTAX.html', '/documentation/syntax'
r301 '/documentation/file.SCSS_FOR_SASS_USERS.html', '/documentation/syntax'
r301 '/documentation/Sass/Script/Functions.html', '/documentation/functions'
r301 '/documentation/Sass/Script/Functions', '/documentation/functions'
r301 %r{/documentation/(Sass.*)}, 'http://www.rubydoc.info/gems/sass/$1'
r301 %r{/(.+)/$}, '/$1'