middleman/middleman — pull request #1266 by 747 (2014-04-29 14:21:13+00:00)
Title: a quick fix for finding eponymous parents

Fixes Issue #1039.
A naive implementation that assumes no homonymic collision in one directory.
Just copied from my local workaround patch.