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

Add Page.Markup with scope support #12759

Merged
merged 1 commit into from
Aug 29, 2024
Merged

Commits on Aug 29, 2024

  1. Add Page.Contents with scope support

    Note that this also adds a new `.ContentWithoutSummary` method, and to do that we had to unify the different summary types:
    
    Both `auto` and `manual` now returns HTML. Before this commit, `auto` would return plain text. This could be considered to be a slightly breaking change, but for the better: Now you can treat the `.Summary` the same without thinking about where it comes from, and if you want plain text, pipe it into `{{ .Summary | plainify }}`.
    
    Fixes gohugoio#8680
    Fixes gohugoio#12761
    Fixes gohugoio#12778
    Fixes gohugoio#716
    bep committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    fe6c323 View commit details
    Browse the repository at this point in the history