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

ContentWithoutSummary should return .Content when summary is fetched from front matter #12822

Closed
bep opened this issue Sep 4, 2024 · 1 comment
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Sep 4, 2024

The ContentWithoutSummary method returns an empty string if you define the content summary in front matter.

Reading @jmooring 's documentation on this, I was a little surprised about my own implementation. I guess I was a little too occupied about the summary types that actually splits the content.

I would say that ContentWithoutSummary should return Content when summary is fetched from front matter.

Shout if you disagree.

@bep bep self-assigned this Sep 4, 2024
@bep bep removed the NeedsTriage label Sep 4, 2024
@bep bep added this to the v0.134.1 milestone Sep 4, 2024
bep added a commit that referenced this issue Sep 5, 2024
@bep bep closed this as completed in 8f2eac0 Sep 5, 2024
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant