I’m a little new to ipfs, but loving the idea so far and playing around with different experiments.
One experiment is to publish my personal jekyll blog via ipfs instead of github pages.
I started with
ipfs add -r _site and it sort of worked. The main content appears. But most of the links are broken including all the links to the assets.
For instance any links set relative to the root of the site like
/about don’t work because this takes the browser to localhost:5001 rather than localhost:5001/ipfs//about.
Maybe it is just as simple as only using relative links, but I’d generally be interested in knowing if anyone else has done this and what adjustments to their jekyll config are required to publish via IPFS.
Since Jekyll is such a popular static site, it might be useful to document these changes to make it easy for people to switch from publishing their blogs on github pages to publishing on ipfs.