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

Excerpt size per post #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mprat
Copy link

@mprat mprat commented Oct 17, 2022

In the paginator, pass a post.excerpt_size variable to allow each post to specify a custom excerpt size in the front matter. For example:

---
title: My Awesome Post
layout: post
excerpt_size: 100
---

The site default will be respected otherwise, but this allows customization per-post as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant