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
{{ message }}
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.
I the html files I've set a navigation bar and use the root directory for href links, such as href="/<HTML Project Root Folder>/<Subfolder>/index.html".
The project is located at file:///Users/<username>/Documents/GitHub/<HTML Project Root Folder>/ locally.
However, when I click the tabs at the navigation, it seems to look for file:///<HTML Project Root Folder>/ and thus produces a blank page. Consequently, I can't use the navigation locally; I have to upload to the server to debug the links and navigate to other pages.
Relative path works perfectly but is not an option for the navigation bar, because the web pages are not all located in the same directory.
Is there a place to set the root directory locally for HTML preview?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I the html files I've set a navigation bar and use the root directory for
href
links, such ashref="/<HTML Project Root Folder>/<Subfolder>/index.html"
.The project is located at
file:///Users/<username>/Documents/GitHub/<HTML Project Root Folder>/
locally.However, when I click the tabs at the navigation, it seems to look for
file:///<HTML Project Root Folder>/
and thus produces a blank page. Consequently, I can't use the navigation locally; I have to upload to the server to debug the links and navigate to other pages.Relative path works perfectly but is not an option for the navigation bar, because the web pages are not all located in the same directory.
Is there a place to set the root directory locally for HTML preview?
Thanks!
The text was updated successfully, but these errors were encountered: