0.0.3 • Published 7 years ago
ghost-app-extract v0.0.3
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.
<extract />
This will NOT be included!
post.hbs
<div>{{extract}}</div>
Example 2
Post content
This will NOT included in the excerpt for this post.
<extract>
This WILL be included!
</extract>
post.hbs
<div>{{extract}}</div>
Installation
Manual Installation
- Download this repo
- Copy the folder:
ghost-app-extract
to your Ghost apps folder:content/apps/ghost-app-extract
- 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