Added note about path separator

Having gone through https://discourse.gohugo.io/t/different-behavior-locally-vs-on-netlify/19266/5, I figured I'd add a note.
This commit is contained in:
Darshan Baral authored and Bjørn Erik Pedersen committed 2019-10-18 08:55:01 +02:00
1 parent d667eefc61
commit 2e3db7c18c
1 file changed
+1 -1
+1 -1
View File
@@ -47,6 +47,6 @@ The `.File` object contains the following fields:
: the language associated with the given file if Hugo's [Multilingual features][multilingual] are enabled (e.g., `en`)
.File.Dir
: given the path `content/posts/dir1/dir2/`, the relative directory path of the content file will be returned (e.g., `posts/dir1/dir2/`)
: given the path `content/posts/dir1/dir2/`, the relative directory path of the content file will be returned (e.g., `posts/dir1/dir2/`). Note that the path separator (`\` or `/`) could be dependent on the operating system.
[Multilingual]: /content-management/multilingual/