We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5902c57 commit e681704Copy full SHA for e681704
src/Fornax.Template/loaders/postloader.fsx
@@ -85,7 +85,7 @@ let loadFile (rootDir: string) (n: string) =
85
let summary, content = getContent text
86
87
let chopLength =
88
- if rootDir.EndsWith("\\") then rootDir.Length
+ if rootDir.EndsWith(Path.DirectorySeparatorChar) then rootDir.Length
89
else rootDir.Length + 1
90
91
let dirPart =
0 commit comments