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

Change SummaryLength to be configurable #3924

Merged
merged 1 commit into from Sep 29, 2017
Merged

Change SummaryLength to be configurable #3924

merged 1 commit into from Sep 29, 2017

Commits on Sep 29, 2017

  1. Change SummaryLength to be configurable

    Move SummaryLength into the ContentSpec struct and refactor the
    relevant summary functions to be methods of ContentSpec. The new
    summaryLength struct member is configurable by the summaryLength config
    value, and the default remains 70. Also updates hugolib/page to use the
    refactored methods.
    
    Resolves gohugoio#3734
    bmon committed Sep 29, 2017
    Copy the full SHA
    534f21a View commit details
    Browse the repository at this point in the history