Hugo + Obsidian: An Elegant Image Hosting-Free Solution

Problem When managing images for a Hugo blog in Obsidian, using an image hosting service can be unstable. Without one, inserting images becomes difficult and maintenance is cumbersome. Common issues include: Path Confusion: Manual maintenance of the /static/images directory structure is required. Multi-language Adaptation: Duplicate configuration is needed for Chinese and English paths. Poor Development Experience: Frequent 404 errors occur during local debugging and file operations. Demonstration Direct rendering may result in errors due to incorrect paths, as shown below: ...

2025-03-30 Â· 1 min Â· 377 words Â· Jeapo