0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-11 02:12:21 -05:00
ghost/core
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
..
client@919bf3931d Updated Ghost-Admin to v4.0.0-alpha.2 2021-02-16 19:53:52 +00:00
frontend Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
server Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
shared Added paywall card to mark end of free content preview (#12663) 2021-02-17 23:00:26 +00:00
app.js Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
boot.js Fixed inactive themes not loading [WIP] 2021-02-15 17:19:21 +00:00
db.js Added new, simpler, linear boot process 2021-02-08 11:56:44 +00:00
index.js