Commit graph

3 commits

Author SHA1 Message Date
82323c9158 Add development HTTP server
Add an HTTP server for development purposes that replies to requests
with both the static resources and on the fly generated pages.  This
serves the following needs.

- Modern module scripts requires an origin supporting CORS policies,
  which is not supported when pages are read from disk by the browser.

- Provide a way for implemting automatic reloading of pages when changes
  are made to the source files.

- Act as the starting point for making interactive features such as
  comments and analytics.
2025-02-02 10:03:55 +01:00
ef8aaa6f6d Ignore absolute URIs when resolving refs
Do not output bogus warnings in the case of links that goes to other
websites.
2025-01-25 08:52:08 +01:00
17f8693eae Add resolveRefs transform
Provide a transformation function that maps absolute references to
resources into relative references based on the location of a page.
This makes it possible to use the same links across multiple pages
in the hierarchy that works when loaded as files from the filesystem.
2025-01-22 08:58:48 +01:00