mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 06:30:33 +03:00
Add support for symbolic links for content, layout, static, theme
Note: This is for the content roots only, but that should satisfy most needs. Fixes #1855
This commit is contained in:
parent
6258d48b02
commit
e5aa477491
4 changed files with 33 additions and 9 deletions
|
@ -124,7 +124,7 @@ func importFromJekyll(cmd *cobra.Command, args []string) error {
|
|||
return convertJekyllPost(path, relPath, targetDir, draft)
|
||||
}
|
||||
|
||||
err = filepath.Walk(jekyllRoot, callback)
|
||||
err = helpers.SymbolicWalk(hugofs.OsFs, jekyllRoot, callback)
|
||||
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue