[Bug] There is a hard code text display in related.html
imjokey opened this issue · comments
Jokey commented
I confirm:
- I am running the extended version of Hugo version 0.91.0 or above to build my site.
- I have read the Hugo Clarity theme documentation.
- I have used the example site's config files as reference.
- I have reviewed other issues in this repository and mine is not recorded.
Hugo version
0.123.7
Where is this bug showing up?
In the browser: Hugo builds the site, but something doesn't look right.
Operating system
macOS 14.1.2
Browser (if applicable)
Version 122.0.6261.94 (Official Build) (arm64)
Current behavior
The Chinese translation field series_posts has been provided, but the text display at the end of the article is still "Posts in this series"
Expected behavior
I expect the relevant pages to have the correct translation text available.
Steps to reproduce
I reviewed relevant code in /layouts/partials/related.html, I found there is a hard code h2 text about the 'series_posts' translator field.
Relevant log output
No response
Related code
Preferred solution
I hope I can fix it with a translator placeholder.
Other information
No response