-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
summaryLength
applies differently since 0.134.0
#12837
Comments
I'm pretty sure that the title of this issue is not correct. So, the implementation is simpler:
|
summaryLength
is not respected by .SummarysummaryLength
behaves differently since 0.134.0
I am okay with it, if this is desired behavior. Although a notice in the release notes would have been great. I've changed the title of this issue accordingly. |
Yea, well, this isn't my day job. |
summaryLength
behaves differently since 0.134.0summaryLength
applies differently since 0.134.0
For others reading this; there is a truncate func (https://gohugo.io/functions/strings/truncate/) that understands HTML that can be used for more ... fine grained control over the length. |
I've updated the documentation to reflect the behavioral change: |
This commit also fixes a bug where a `</picture>` end tag was wrongly used to detect a end paragraph. This should be very rare, though. Closes gohugoio#12837
This commit also fixes a bug where a `</picture>` end tag was wrongly used to detect a end paragraph. This should be very rare, though. Closes gohugoio#12837
This commit also fixes a bug where a `</picture>` end tag was wrongly used to detect a end paragraph. This should be very rare, though. Closes gohugoio#12837
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. |
Setting a
summaryLength=10
in myhugo.toml
does not have any effect since 0.134.0.To test this, my page Markdown was
0.134.0
0.133.1
What version of Hugo are you using (
hugo version
)?Does this issue reproduce with the latest release?
Yes. It was fine with 0.133.1
The text was updated successfully, but these errors were encountered: