An open API service indexing awesome lists of open source software.

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.

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)