Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorbep <bjorn.erik.pedersen@gmail.com>2014-11-18 01:18:40 +0300
committerspf13 <steve.francia@gmail.com>2014-11-18 18:17:01 +0300
commitcb3576b6de99a7a90b50d7d910f23d2c13297e7e (patch)
treec6b6e624450f40b0e458e44df27a1b1d923f612f /source
parentbcaf33418f041aca794d218f0393004ed4703f1b (diff)
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
Diffstat (limited to 'source')
-rw-r--r--source/file.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/file.go b/source/file.go
index 909d457db..4c6196a9f 100644
--- a/source/file.go
+++ b/source/file.go
@@ -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 != "" {