Images not being rendered from .adoc files

Hi all,

I’m trying to setup Hugo and asciidoc and it’s mostly working but for some reason Hugo isn’t finding and rendering images in a post. I’m storing image right along side a post’s .adoc source and adding them to the post using:

image::imagename.png[]

The result in live preview and a compiled site is a broken image and image name. I feel like I’m missing something simple. Any help would be appreciated. Here’s a link to the live page with the broken image: my first post - GreenMonkeyLabs

This works fine:

site configuration

[security.exec]
allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$','^asciidoctor$']
content/
├── posts/
│   └── post-1/
│       ├── imagename.png
│       └── index.adoc
└── _index.md

content/posts/post-1/index.adoc

---
title: "Post 1"
date: 2022-11-11T13:14:12-08:00
draft: false
---
image::imagename.png[]

Thank you, that did the trick.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.