Code Monkey home page Code Monkey logo

Comments (4)

alex-shpak avatar alex-shpak commented on July 22, 2024

Hi!

Can you please share some details of your config/setup?
It works for me in exampleSite, with hugo server --themesDir ... --baseURL=http://0.0.0.0:1313/example/

from hugo-book.

cbluth avatar cbluth commented on July 22, 2024

admittedly, i am a hugo newb, and most likely i probably have done something wrong.

My setup uses ipfs dnslink, and i have pointed it to cloudflares ipfs public gateway, you can read more about it here:

Anyways, my website is located here:

  • https://cobin.io/ (this link will only work properly when my laptop is open, until i move the content to a more permanent host)
    ^ and this seems to be formatting properly.

but, the same content is available here:

^ and these two are not formatted properly

I will include some screenshots in case you try the links when i am not using my laptop.

image

image

from hugo-book.

alex-shpak avatar alex-shpak commented on July 22, 2024

Well, theme supports relative links, few tips to help you with debugging:

  1. Make sure to use latest commit of theme.
  2. Use relUrl, RelPermalink everywhere
  3. Your baseURL parameter in config or CLI param should be https://cloudflare-ipfs.com/ipns/ or similar. (at least include /ipns/ in the end)
  4. Check which urls are wrong in HTML code, for debugging.

from hugo-book.

alex-shpak avatar alex-shpak commented on July 22, 2024

Hi! I hope you solved problem. Will close this for now.
Feel free to re-open if you need some assist.

from hugo-book.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.