Skip to content

[Bug]: figure short code is not working properly for multilingual websites #1624

Open
@newptcai

Description

@newptcai

What happened?

In the newest version of Hugo 0.136.5, multilingual website can share resources like images between the web pages for the same post in different languages. However, because PaperMod provides its own figure shortcode, this feature of Hugo is broken with using PaperMod theme. Please see this discussion and a walk around.

Steps to reproduce

  1. Create a paper bundle of the same post including different languages
  2. Include some images in the bundle
  3. Include the image using figure short code
  4. You can see that figure only works in the default language.

Hugo Version

Hugo >= 0.112.4 (Recommended - Minimum version required for PaperMod)

PaperMod Version

Commit a2eb47b

What kind of devices are you seeing the problem on?

No response

What browsers are you seeing the problem on?

No response

Browser Version

No response

Relevant log output

This is no relevant log.

Repository/Source Code link where this issue can be reproduced

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions