middleman/middleman — pull request #398 by bhollis (2012-04-28 05:07:36+00:00)
Title: link_to is page-aware

`link_to` with an absolute path that corresponds to a page path will get rewritten to the page's output URL

This is meant as a fix for #388.

I avoided relative URLs explicitly because they can be tricky.