Ghost/core/frontend/helpers/tpl
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
..
cancel_link.hbs Added member's subscription cancellation helper {{cancel_link}} (#11434) 2019-12-12 19:59:15 +07:00
content-cta.hbs Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
navigation.hbs 🐛 Removed incorrect a11y roles from navigation template (#11833) 2020-05-22 18:19:35 +01:00
pagination.hbs Made pagination helper template output W3C compliant HTML (#10804) 2019-06-25 12:01:19 +02:00
styles.js Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30