Git Product home page Git Product logo

Comments (2)

Schnouki avatar Schnouki commented on August 19, 2024 1

Hi @sardaukar,

Thanks for getting in touch, and sorry about this... There are actually 2 problems here: poor error reporting from Hugo, and poor documentation from my part.

The error you've pasted here is basically Hugo complaining that it could not find an image.

hugo-baguetteBox relies on Hugo's image processing to automatically generate thumbnails. But this also requires your content to be organized in page bundles. Which basically means that instead of having your post in content/post/amiga-bbs-online-2019.md and images anywhere , you should have your post as content/post/amiga-bbs-online-2019/index.md with the images in the same folder. Then you can use {{% galimg target="image-name.jpg" %}}.

I'm working on improving this in several ways:

  • add an explicit error message
  • make galimg easier to use when there's just a target without any other parameter
  • add a full documentation with more examples

I hope I'll be able to push that in a few days.

Thanks again and I hope this helps! (And nice article BTW. I still have my old Amiga 500 at my parents' house but I've only ever used it for games when I was a kid 😅)

from hugo-baguettebox.

sardaukar avatar sardaukar commented on August 19, 2024

I managed to tweak some code I found on dev.to to work with my setup so no rush to fix it ;)

from hugo-baguettebox.

Related Issues (1)

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.