Split excerpt into archive_excerpt and overlay_excerpt #1429
Description
- This is a question about using the theme.
- This is a feature request.
- I believe this to be a bug with the theme.
- I have updated all gems with
bundle update
. - I have tested locally with
bundle exec jekyll build
.
- I have updated all gems with
Environment informations
- Minimal Mistakes version: 4.8.1+
- GitHub Pages hosted: yes
Expected behavior
The "excerpt" is used in at least 2 unique ways:
- archive summary (archive-single)
a) archive grid (e.g. related)
b) recent posts (e.g. home) - header overlay (page__hero)
At least in my case, I'm looking for different things for 1 and 2 above, and was looking for a way to kill the excerpt from the header overlay, while keeping it for the archive summary. I didn't find a way, so I ultimately just commented it out of page__hero.
https://dvhart.github.io/2015/04/05/wannabee-it-guy-kid-friendly-networking.html
I think it would be useful to split excerpt into overlay_excerpt and archive_excerpt, both of which default to excerpt, but can be independently overridden. Existing users wouldn't need to change anything as overriding excerpt would apply to both new fields. In my case I would set 'overlay_excerpt: ""' in defaults in my _config.yml, and leave archive_excerpt.
Another option might be to create a boolean for overlay_excerpt which just toggles if the excerpt is displayed in in the overlay header. This would be less flexible, but probably less invasive.