fredjean/middleman-s3_redirect — pull request #11 by leighmcculloch (2014-12-31 17:28:57+00:00)
Title: Don't wrap directoryless path's in directories.

This give the caller the option to define if something is a directory (by adding a trailing slash) or not. On S3 we can redirect straight from a path to another path without needing to use things like an index.html.

See http://dev.greatstoriesofthebible.org/jesus_crucifixion_by_mathew and watch how it redirects to http://dev.greatstoriesofthebible.org/jesus_crucifixion_by_matthew. This is hosted statically on S3 using middleman, using this PR.