www.berty.tech
www.berty.tech copied to clipboard
Host on IPFS
I will collect some experience with my own blog. Your site is more complex but maybe I can help a bit.
Is using ipns acceptable? The drawback is that during the propagation links may be not working or assets are not present. The other method would be updating your DNS on every publish step.
@Jorropo is working on a PoC -> https://jorropo.ovh/ipns/k2k4r8pdq8w3382yrqib8vpt60v0282nzsmv17qp4rtxg1h8lca76tlv/
There are various issues:
- font-awesome is configured to run on certain hostname only -> is there a way to fallback nicely?
- some images are loaded with a bad path
- some content are hardcoded to be served by berty.tech
probably other things I missed
@cdeleeuwe can you tell us what you think?
@Jorropo above PR fixed some relative urls. Hopefully it will now work without errors :)
@cdeleeuwe seems, to work fine, only font awesome is left to tackle (I'll take a look later). :)
@Jorropo awesome :). From what I see, font awesome is loading OK..
Just made a PR (#153) to fix the homepage Lottie animation relative url. After that I think there might still be some assets missing that are used in the style.scss file. These are are a bit tricky to make relative paths, since Hugo only renders the SASS once, so is not aware of the current path. A possible workaround would be to move it the partial/head.html file (similar as what is done with the fonts).
@Jorropo awesome :). From what I see, font awesome is loading OK..
Just made a PR (#153) to fix the homepage Lottie animation relative url. After that I think there might still be some assets missing that are used in the style.scss file. These are are a bit tricky to make relative paths, since Hugo only renders the SASS once, so is not aware of the current path. A possible workaround would be to move it the partial/head.html file (similar as what is done with the fonts).
I can't reproduce it either.
Now working on higher priority items. This could be a good project for someone who wants to experiment with IPFS. Backlog for now.