-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
figure
shortcode is not working for images stored in the same folder as in the markdown blog post for non default languages
#12244
Comments
A reproducible sample can be my repo at https://github.com/CXwudi/personal-blog-source, change the HUGO_VERSION in |
@CXwudi Thanks for creating this issue. This will be resolved with #12245. In the interim, assuming that you are using the embedded figure shortcode described here, create your own to override it: layouts/shortcodes/figure.html
See https://gohugo.io/content-management/page-resources/#multilingual for an explanation. |
figure
shortcode is not working for images stored in the same folder as in the markdown blog post for non default languagesfigure
shortcode is not working for images stored in the same folder as in the markdown blog post for non default languages
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What version of Hugo are you using (
hugo version
)?Hugo v0.123.8 extended version
Does this issue reproduce with the latest release?
I have a folder structure is as following:
And my blog has set the default language to English.
Using the
figure
shortcode, I can see thatimg.png
is properly showing inindex.en.md
but notindex.zh-cn.md
The shorcode I used in both markdown file is simply just
{{< figure src="img.png" caption="xxx">}}
.Downgrading Hugo to v0.121.2 works.
The text was updated successfully, but these errors were encountered: