-
Notifications
You must be signed in to change notification settings - Fork 14.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
Make it compatible with Hugo 0.55 #13680
Conversation
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable: * All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar. * Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
Deploy preview for kubernetes-io-master-staging ready! Built with commit a1a37db https://deploy-preview-13680--kubernetes-io-master-staging.netlify.com |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tengqm The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable: * All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar. * Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
* lower case url Invoke site param as a string Invoke site param as text Remove leading dot Invoke as a page variable Tweak the page param invocation lower case Update Hugo version to 0.57.2 * Make it compatible with Hugo 0.55 (#13680) This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable: * All the `File` methods on `Page` has been deprecated and will give a warning in the next Hugo version. Adjust this by changing `.Dir` to ´.File.Dir` and similar. * Version the capture shortcode to use the old behaviour for markdown rendering of shortcode inner content.
This commit adds two backwards compatible changes to prepare for the next Hugo version, most notable:
File
methods onPage
has been deprecated and will give a warning in the next Hugo version. Adjust this by changing.Dir
to ´.File.Dir` and similar.Note that there are several fixes in this version of Hugo that makes it worth-while for this site, esp. one bugfix re. merging of languages.