Notes for when manipulating or working with website that don't use the default baseurl
base
tag in the htmlhead
like the following
<head>
<base href="/" target="_self" />
</head>
- To respect the base tag, you can use the following in your markdown or html files
For markdown, use relative paths
[link](dir/file)
For html, the same can be done and most browsers will handle it for you
<a href="dir/file"> File </a>
- To get the browser to go the root of the baseurl even when the
head
doesn't have a
base
tag.
<a href="."> Root </a>
backlinks