Wrong shortcode picked in hugo-0.55.1

0.55 as a changed behaviour regarding to which shortcode is used

Given:

layouts/shortcodes/
├── hello.html
└── test
    └── hello.html

cat layouts/shortcodes/hello.html

Hello World

cat layouts/shortcodes/test/hello.html

Hello Hugo

Using:

{{< hello >}}
{{< test/hello >}}

Output in hugo < 0.55
Hello World
Hello Hugo

Output in hugo 0.55.1
Hello Hugo
Hello Hugo

Is this intentional?

Thx so much for hugo - my main tool for creating documentation (web and local files)
Kind Regards

No, and I have a little problem imaging how that could have have changed in that patch release, but I will certainly check it. Thanks for the report.

1 Like