Closed CXwudi closed 7 months ago
A reproducible sample can be my repo at https://github.com/CXwudi/personal-blog-source, change the HUGO_VERSION in .devcontainer\.env
to 0.123.8, and run ./test-local.sh
in the root directory to bring up my blog. Checkout the Chinese version of the first post and you can see
@CXwudi Thanks for creating this issue. This will be resolved with https://github.com/gohugoio/hugo/issues/12245.
In the interim, assuming that you are using the embedded figure shortcode described here, create your own to override it:
See https://gohugo.io/content-management/page-resources/#multilingual for an explanation.
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.