Skip to content
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

Update MultiLingual and MultiHost methods/functions #2484

Merged

Conversation

jmooring
Copy link
Member

@jmooring jmooring commented Mar 13, 2024

  • 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

Merge upon release of v0.124.0.

@jmooring jmooring force-pushed the changes-to-is-multihost-and-is-multilingual branch from 3b6d075 to 09a94b9 Compare March 13, 2024 15:13
@jmooring jmooring changed the title update MultiLingual and MultiHost methods/functions Update MultiLingual and MultiHost methods/functions Mar 13, 2024
@jmooring jmooring force-pushed the changes-to-is-multihost-and-is-multilingual branch from 09a94b9 to 89ed635 Compare March 16, 2024 00:27
- 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
@jmooring jmooring force-pushed the changes-to-is-multihost-and-is-multilingual branch from 89ed635 to 090ed35 Compare March 16, 2024 16:37
@jmooring jmooring marked this pull request as ready for review March 16, 2024 16:37
@jmooring jmooring merged commit 8e267d7 into gohugoio:master Mar 16, 2024
1 check passed
@jmooring jmooring deleted the changes-to-is-multihost-and-is-multilingual branch March 16, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant