Since Hugo 0.52.0, there has been an inline shortcodes feature, which is considered a better way to reuse code in partials rather than calling partials from shortcodes.
With the move to the GoldMark renderer in Hugo 0.60.0, shortcodes which call partials are sometimes causing problems (see this thread).
I propose removing the two shortcodes which replicate the functionality of inline shortcodes, for safer operation.
This would mean that instead of calling {{< contact_form >}} to display the contact form partial, you would call {{< contact.inline >}}{{ partial "contact" . }}{{< /contact.inline >}}.
I'll leave this issue open for around one week for discussion, and will commit the changes after that. (This will trigger a new tagged release as it could break sites.)
Since Hugo 0.52.0, there has been an inline shortcodes feature, which is considered a better way to reuse code in partials rather than calling partials from shortcodes.
With the move to the GoldMark renderer in Hugo 0.60.0, shortcodes which call partials are sometimes causing problems (see this thread).
I propose removing the two shortcodes which replicate the functionality of inline shortcodes, for safer operation.
This would mean that instead of calling
{{< contact_form >}}
to display the contact form partial, you would call{{< contact.inline >}}{{ partial "contact" . }}{{< /contact.inline >}}
.I'll leave this issue open for around one week for discussion, and will commit the changes after that. (This will trigger a new tagged release as it could break sites.)