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 support for custom post excerpts #19

Merged
merged 4 commits into from
Dec 7, 2022

Conversation

rebeccacremona
Copy link
Collaborator

@rebeccacremona rebeccacremona commented Dec 6, 2022

This PR makes it easier to customize post excerpts, which we recently started showing on the blog's index page instead of each blog post's full text.

As explained in the instructions...

image

... you can now place <!--more--> in the editor wherever you'd like the "Read More" button to appear.

image

The download page will preview excerpt text. With the default:

image

If it detects the presence of <!--more-->:

image

If you don't want a post excerpt, and instead want the whole post to display on the index page, you can opt out there too:

image

The headmatter of the downloaded markdown file will be updated accordingly.

@bensteinberg bensteinberg merged commit ddd83f4 into harvard-lil:develop Dec 7, 2022
@bensteinberg
Copy link
Contributor

Deployment failed with ERROR: No matching distribution found for python-dotenv==0.21.0; I was able to deploy after upgrading the runtime from 3.6.15 to 3.10.9. I'll upgrade the runtimes on our other Dokku applications in advance of need, I think.

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.

2 participants