TryGhost/Ghost — pull request #1938 by jolros (2014-01-13 22:46:25+00:00)
Title: Including theme partials in a way that supports symbolically linked directories

The old way was breaking because config.paths().availableThemes[activeTheme] would just be a string.

By doing a fs.stat() on the full path (that was already being constructed a line later), all theme directories are supported.

This fixes issue #1937 that I just posted, which includes a reproducible case.