Ghost/core/server/helpers
Katharina Irrgang 7845617607 Custom Post Excerpt Feature (#8792)
closes #8793

- 1.3 post excerpt migration
  - add 1.3 migration to add `excerpt` to post schema

NOTE:
    - knex-migrator relies on the package.json safe version
    - so right now Ghost is on 1.2
    - the migration script is for 1.3
    - if you pull down the PR (or if we merge this PR into master), you have to run `knex-migrator migrate --v 1.3 --force`
    - knex-migrator will tell you what you have todo

- Bump dependencies
  - knex-migrator@2.1.3
- Soft limit for custom_excerpt
- Extended {{excerpt}} to use custom excerpt
   - when a `custom_excerpt` field exists, the `{{excerpt}}` helper will output this and fall back to autogenerated excerpt if not.
- Refactored behaviour of (meta) description
   - html tag `<meta name="description" />` for posts, tags and author doesn't get rendered if not provided.
        - fallback for `author.bio` removed
        - fallback for `tag.description` removed
   - structured data and schema.org for `post` context takes the following order to render description fields:
        1. custom excerpt
        2. meta description
        3. automated excerpt (50 words)
    - updated and added tests to reflect the changes
2017-08-01 12:39:34 +04:00
..
tpl New buttons 🎨 (#8007) 2017-02-16 19:52:32 +00:00
asset.js Asset amends (#8294) 2017-04-10 11:30:21 +02:00
author.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
body_class.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
content.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
date.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
encode.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
excerpt.js Custom Post Excerpt Feature (#8792) 2017-08-01 12:39:34 +04:00
facebook_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
foreach.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
get.js 📖 replace any support.ghost.org link (#8555) 2017-06-08 20:34:20 +01:00
ghost_foot.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
ghost_head.js 🛠 🙈 Rename ghost-url.js to ghost-sdk.js (#8767) 2017-07-28 18:23:32 +04:00
has.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
img_url.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
index.js 🙀 Image field naming & new img_url helper (#8364) 2017-04-24 18:21:47 +01:00
is.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
meta_description.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
meta_title.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
navigation.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
page_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
pagination.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
plural.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
post_class.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
prev_next.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
proxy.js 🙇 Blog icon utils and publisher.logo for JSON-LD (#8297) 2017-04-11 18:32:06 +02:00
register.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
tags.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
template.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
title.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
twitter_url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
url.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00