We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cee4c78 + 0aa9c57 commit 0dc03feCopy full SHA for 0dc03fe
src/SiteBuilder.php
@@ -140,8 +140,8 @@ private function getMetaData($file, $baseUrl)
140
{
141
$filename = $file->getFilenameWithoutExtension();
142
$extension = $file->getFullExtension();
143
- $path = rightTrimPath($this->outputPathResolver->link($file->getRelativePath(), $filename, $file->getExtraBladeExtension() ?: 'html'));
144
- $relativePath = $file->getRelativePath();
+ $relativePath = str_replace('\\', '/', $file->getRelativePath());
+ $path = rightTrimPath($this->outputPathResolver->link($relativePath, $filename, $file->getExtraBladeExtension() ?: 'html'));
145
$url = rightTrimPath($baseUrl) . '/' . trimPath($path);
146
$modifiedTime = $file->getLastModifiedTime();
147
0 commit comments