summaryrefslogtreecommitdiffstats
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorNoah Campbell <noahcampbell@gmail.com>2013-08-12 13:57:47 -0700
committerNoah Campbell <noahcampbell@gmail.com>2013-08-12 15:03:06 -0700
commit8c03141307a375709d4f9ae4a765ca1935b72051 (patch)
tree48c2bae147768dbac907b773ab567670acc19f20 /hugolib/config.go
parent3fdcd0ba7c42cabe2b51c768bc7f36d859241eb0 (diff)
Use / for template names regardless of platform.
The path seperator was causing templates to not be loaded on windows. Now all template names use / internally.
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index c612b1d8c..12dc544c7 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -148,7 +148,7 @@ func FindPath() (string, error) {
}
func (c *Config) GetAbsPath(name string) string {
- if path.IsAbs(name) {
+ if filepath.IsAbs(name) {
return name
}