-
-
Notifications
You must be signed in to change notification settings - Fork 402
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Issue description
According to the shortcode documentation, the following two methods of image rendering should yield the same result:
{{< figure
src="pittsburgh-in-snow.jpg"
alt="Abstract purple artwork"
caption="Test"
>}}However, this seems to be different...
The problem here seems to be that they're rendered with different templates:
figureshortcode use thelayouts/shortcodes/figure.htmlshortcode template- Markdown uses the
layouts/_default/_markup/render-image.htmlrender hook
Kind of confusing to understand the purpose of the figure shortcode, but after getting to know this better, I may be able to work on a fix for this.
Theme version
v2.8.1
Hugo version
hugo v0.123.4-21a41003c4633b142ac565c52da22924dc30637a+extended darwin/amd64
Which browser rendering engines are you seeing the problem on?
Chromium (Google Chrome, Microsoft Edge, Brave, Vivaldi, Opera, etc.)
URL to sample repository or website
No response
Hugo output or build error messages
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
