0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend
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
..
apps Replaced constants file with @tryghost/constants 2020-08-11 12:51:16 +01:00
helpers Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30
meta 🐛 Fixed published time and modified time for structured data (#12085) 2020-08-17 15:52:31 +01:00
services 🐛 Fixed meta data when using tag data in collection (#12137) 2020-08-17 15:21:09 +01:00
views Updated unsubscribe copy 2019-11-26 11:03:14 +01:00