mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Fix broken convert
The front matter convert-feature didn't work. It placed converted content in the wrong directory. This commit fixes this by doing the smallest and safest change possible; the path logic here should maybe be revisited and generalized. Fixes #643
This commit is contained in:
+3
-3
@@ -70,9 +70,9 @@ func (f *File) LogicalName() string {
|
||||
}
|
||||
}
|
||||
|
||||
//func (f *File) SetDir(dir string) {
|
||||
//f.dir = dir
|
||||
//}
|
||||
func (f *File) SetDir(dir string) {
|
||||
f.dir = dir
|
||||
}
|
||||
|
||||
func (f *File) Dir() string {
|
||||
if f.dir != "" {
|
||||
|
||||
Reference in New Issue
Block a user