https://github.com/shaps80/ghost-app-extract
Allows you to create better excerpt's in your Ghost blog posts.
https://github.com/shaps80/ghost-app-extract
Last synced: 12 months ago
JSON representation
Allows you to create better excerpt's in your Ghost blog posts.
- Host: GitHub
- URL: https://github.com/shaps80/ghost-app-extract
- Owner: shaps80
- Created: 2017-01-27T19:04:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-28T21:22:46.000Z (over 9 years ago)
- Last Synced: 2025-01-11T11:48:20.686Z (over 1 year ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ghost-app-extract
Ghost app to enable better excerpt generation.
This app allows you to use the keyword to mark the portion of the text you would like to use for the excerpt. See below for usage examples.
The value can then be retrieved as such: `{{extract}}`
## Example 1
> Post content
This **WILL** be included in the excerpt for this post.
``
This will **NOT** be included!
> `post.hbs`
```handlebars
{{extract}}
```
## Example 2
> Post content
This will **NOT** included in the excerpt for this post.
``
This **WILL** be included!
``
> `post.hbs`
```handlebars
{{extract}}
```
## Installation
### Manual Installation
1. Download this repo
2. Copy the folder: `ghost-app-extract` to your Ghost apps folder: `content/apps/ghost-app-extract`
3. Update your Ghost blog's `activeApps` to include the app: `"key":"activeApps","value":"[\"ghost-app-extract\"]"`
For details on how to modify your database, see: [Getting Started: Installing](https://github.com/TryGhost/Ghost/wiki/Apps-Getting-Started-for-Ghost-Devs#installing)