-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
nit/noise: Rename hugo.IsMultiHost and hugo.IsMultiLingual #12232
Comments
Yea, that makes sense. I'm back from a short vacation now and I'm going to collect some issues into a final
|
I'm assuming the above are reversed.
I will submit a PR. Shout if you think I got it wrong. |
It was in a roundabout way, but you are right. |
hugo.IsMultiHost => hugo.IsMultihost hugo.IsMultiLingual => hugo.IsMultilingual Closes gohugoio#12232
- Deprecate .Site.MultiLingual in favor of hugo.IsMultilingual - Rename hugo.IsMultiHost in favor of hugo.IsMultihost. Cannot Deprecate in documentation because they have the same published path. See gohugoio/hugo#12232
- Deprecate .Site.MultiLingual in favor of hugo.IsMultilingual - Rename hugo.IsMultiHost to hugo.IsMultihost. Cannot deprecate in documentation because they have the same published path, but this shouldn't be a problem because hugo.IsMultiHost was introduced in the last patch release. See gohugoio/hugo#12232
hugo.IsMultiHost => hugo.IsMultihost hugo.IsMultiLingual => hugo.IsMultilingual Closes #12232
- Deprecate .Site.MultiLingual in favor of hugo.IsMultilingual - Rename hugo.IsMultiHost to hugo.IsMultihost. Cannot deprecate in documentation because they have the same published path, but this shouldn't be a problem because hugo.IsMultiHost was introduced in the last patch release. See gohugoio/hugo#12232
- Deprecate .Site.MultiLingual in favor of hugo.IsMultilingual - Rename hugo.IsMultiHost to hugo.IsMultihost. Cannot deprecate in documentation because they have the same published path, but this shouldn't be a problem because hugo.IsMultiHost was introduced in the last patch release. See gohugoio/hugo#12232
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. |
Feel free to close, but both multihost and multilingual are one word without hyphenation, so these seem a better choice:
I noticed yesterday that, excluding the methods exposed to the templates, we are inconsistent internally:
I'd like to change the exposed methods and make the internal usage consistent with the exposed methods.
hugo.IsMultiHost
was just introduced last week in v0.123.8, so if we (you) want to change this, now would be a good time.The text was updated successfully, but these errors were encountered: