You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe I've encountered a bug with the page_path variable inside the on_page_content function. The page_path is not being returned with the appropriate directory separators (/). Instead of generating a path like path/subpath/file.md, it returns pathsubpathfile.md—all concatenated without the separators.
Solution:
To address this issue, I implemented a simple fix by manually concatenating the page_base_path and basename with the appropriate directory separator (/). While this is a straightforward solution, it resolved the issue and restored the correct functionality for operations dependent on the file path.
The text was updated successfully, but these errors were encountered:
I believe I've encountered a bug with the page_path variable inside the on_page_content function. The page_path is not being returned with the appropriate directory separators (/). Instead of generating a path like path/subpath/file.md, it returns pathsubpathfile.md—all concatenated without the separators.
Solution:
To address this issue, I implemented a simple fix by manually concatenating the page_base_path and basename with the appropriate directory separator (/). While this is a straightforward solution, it resolved the issue and restored the correct functionality for operations dependent on the file path.
The text was updated successfully, but these errors were encountered: