Ghost/core/shared
Kevin Ansfield 2c96df42ac
Added paywall card to mark end of free content preview (#12663)
closes https://github.com/TryGhost/Team/issues/466

- upgraded kg-default-cards to include paywall card
- extracted `htmlToPlaintext` from post model to shared util for re-use
- updated post-gating to set html+plaintext to the free preview if a paywall card has been used
  - re-generates plaintext from the truncated html using `htmlToPlaintext` util
- display free content in the `{{content}}` helper via the default CTA template
2021-02-17 23:00:26 +00:00
..
config Added portal url to config (#12645) 2021-02-12 23:01:41 +05:30
express.js Added Router etc to shared/express + use everywhere 2020-05-01 19:32:57 +01:00
html-to-plaintext.js Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
logging.js Moved core/server/lib/common/logging to core/shared/logging (#11857) 2020-05-28 19:30:23 +01:00
sentry.js Moved Sentry noop function into block 2020-11-10 11:04:21 +00:00
url-utils.js Added mobiledoc transform to populate missing image sizes on forced re-render (#11924) 2020-06-17 13:12:32 +01:00