This code snippet implements manual control over excerpts in Ghost.
You will need to modify 2 files and 1 setting:
- Ghost/core/server/helpers/content.js - this one will get overwritten during Ghost update
- Ghost/content/themes//partials/loop.hbs - this one has to be modified for each theme
- 'Blog Footer' section of 'Code Injection' settings page
Default behavior is having whole articles displayed on the front page.
If you want to display only an excerpt, put
<!--preview--> at the position you want to cut the article.
This enables precise control over article previews.