-
Notifications
You must be signed in to change notification settings - Fork 482
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
Hugo ≥0.76.* i18n breaks authorbox_name string #237
Comments
Is there a compromising way to fix the authorbox's display temporarily for those who use Mianroad before this issue is fixed? |
I don't have time to investigate this problem (yet). Options:
|
This is due to an upstream issue in Hugo ≥0.76 (Upgrade to go-i18n v2). Three months have passed, so I have to look for workarounds on our side. The most popular option (replace `.Count` to `.`) doesn't suit us because it breaks backward compatibility. This fix will allow us to preserve backward compatibility with older versions. Fix #237
I am a bit lost. Is this issue fixed and if so, how do I apply it to Mainroad? |
@mcdragonsi Make sure you're on master and you've pulled the latest changes. Then, if you have custom translations file, change |
This is due to an upstream issue in Hugo ≥0.76 (Upgrade to go-i18n v2). Three months have passed, so I have to look for workarounds on our side. The most popular option (replace `.Count` to `.`) doesn't suit us because it breaks backward compatibility. This fix will allow us to preserve backward compatibility with older versions. Fix Vimux#237
This is due to an upstream issue in Hugo ≥0.76 (Upgrade to go-i18n v2). Three months have passed, so I have to look for workarounds on our side. The most popular option (replace `.Count` to `.`) doesn't suit us because it breaks backward compatibility. This fix will allow us to preserve backward compatibility with older versions. Fix Vimux#237
After upgrading to Hugo 0.76.*, the
authorbox_name
i18n string stops working correctly.Hugo version
Theme is up to date?
Yes. 8c2da72
Expected behavior
Screenshot
Current behavior
Screenshot
Problem
exampleSite demo build log shows the following warning messages since bumping to Hugo 0.76.*:
As a result, i18n string (
authorbox_name
) does not work as before.Steps to reproduce
Prerequisites: git, hugo 0.76.*
Clone this repository and cd in the exampleSite dir
git clone /~https://github.com/vimux/mainroad.git cd mainroad/exampleSite/
Run Hugo server with the following command:
Visit http://localhost:1313/post/hugoisforlovers/ in your browser and scroll to the bottom of the page.
gohugoio/hugo#7822
The text was updated successfully, but these errors were encountered: