mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
@@ -270,7 +270,7 @@ func (w *Walkway) walk(path string, info FileMetaInfo, dirEntries []FileMetaInfo
|
||||
meta.Path = normalizeFilename(pathMeta)
|
||||
meta.PathWalk = pathn
|
||||
|
||||
if fim.IsDir() && w.isSeen(meta.Filename) {
|
||||
if fim.IsDir() && meta.IsSymlink && w.isSeen(meta.Filename) {
|
||||
// Prevent infinite recursion
|
||||
// Possible cyclic reference
|
||||
meta.SkipDir = true
|
||||
|
Reference in New Issue
Block a user