berty / www.berty.tech

Official website of Berty Technologies
https://berty.tech
MIT License
31 stars 51 forks source link

Host on IPFS #4

Open moul opened 4 years ago

fte378 commented 4 years ago

I will collect some experience with my own blog. Your site is more complex but maybe I can help a bit.

fte378 commented 4 years ago

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.

moul commented 3 years ago

@Jorropo is working on a PoC -> https://jorropo.ovh/ipns/k2k4r8pdq8w3382yrqib8vpt60v0282nzsmv17qp4rtxg1h8lca76tlv/

There are various issues:

probably other things I missed

@cdeleeuwe can you tell us what you think?

cdeleeuwe commented 3 years ago

@Jorropo above PR fixed some relative urls. Hopefully it will now work without errors :)

Jorropo commented 3 years ago

@cdeleeuwe seems, to work fine, only font awesome is left to tackle (I'll take a look later). :)

cdeleeuwe commented 3 years ago

@Jorropo awesome :). From what I see, font awesome is loading OK.. image

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 commented 3 years ago

@Jorropo awesome :). From what I see, font awesome is loading OK.. image

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.

jefft0 commented 3 months ago

Now working on higher priority items. This could be a good project for someone who wants to experiment with IPFS. Backlog for now.