jekyll/jekyll — pull request #2575 by alfredxing (2014-07-07 17:59:22+00:00)
Title: Remove conditional assignment from Document URL

The conditional assignment was making results from `url` quite outdated, causing #2557.

This PR provides a fix for the issue as well as a test covering document permalinks.