0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend/helpers/tpl
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
..
cancel_link.hbs Added member's subscription cancellation helper {{cancel_link}} (#11434) 2019-12-12 19:59:15 +07:00
content.hbs Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30
navigation.hbs 🐛 Removed incorrect a11y roles from navigation template (#11833) 2020-05-22 18:19:35 +01:00
pagination.hbs
styles.js Added default CTA to content helper (#12157) 2020-09-08 12:49:36 +05:30