0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core
Rishabh Garg e3a0bb535f
Added default CTA to content helper (#12157)
no issue

ATM users have to add logic to their themes in order to automatically hide restricted content. The {{content}} helper is updated to return a default CTA box instead of the post content for restricted posts with default static text using site's accent color and opening Portal for relevant action. This is currently behind the dev experiment flag.

- Adds new default content helper template in case of restricted content
- Updates content helper to trigger new CTA template in case of restricted content
2020-09-08 12:49:36 +05:30
..
client@8f4a8cdf2d Updated Ghost-Admin to v3.32.1 2020-09-07 12:06:05 +01:00
frontend Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30
server Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
shared Added minor member newsletter customisations via config 2020-08-24 10:44:22 +01:00
index.js Refactored server announce functions to be clearer 2020-08-09 17:25:15 +01:00