Skip to content

v1.4.0

Choose a tag to compare

@GeiserX GeiserX released this 08 Apr 14:59

Truly relative paths — downloaded sites now work when opened directly from the filesystem

Previously, internal links used root-absolute paths (/left.html) which required python -m http.server to browse. Now all paths are computed relative to the current page (left.html, ../images/logo.png) using posixpath.relpath, so you can just double-click index.html in your browser.

What changed

  • _get_relative_link_path now computes truly relative paths from the current page
  • All inline path constructions (Squarespace CDN, Google Fonts, srcset, inline CSS) also use relative paths
  • Root/directory URLs resolve to index.html instead of /