ERROR-log on symbolic links
authorbep <bjorn.erik.pedersen@gmail.com>
Wed, 10 Dec 2014 15:48:51 +0000 (16:48 +0100)
committerbep <bjorn.erik.pedersen@gmail.com>
Wed, 10 Dec 2014 19:32:39 +0000 (20:32 +0100)
commite6541c45ab1a3d15acd1beea73df5d17d08c7769
treedc366d6388e24ae2623afdac8f0025a7112d6299
parent9f77f93071d836a35b0078d1b349968abddb4a18
ERROR-log on symbolic links

filepath.Walk does not follow symbolic links.
There's no easy fix for that outside of Go, so the best we can do for now is to give notice to the end user by ERROR log statements.

This commit also fixes a related panic situation in GenerateTemplateNameFrom when the layout dir was a symbolic link.

Fixes #283
commands/hugo.go
source/filesystem.go
tpl/template.go