mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
2c96df42ac
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 |
||
---|---|---|
.. | ||
test_tpl | ||
asset_spec.js | ||
author_spec.js | ||
authors_spec.js | ||
body_class_spec.js | ||
cancel_link_spec.js | ||
concat_spec.js | ||
content_spec.js | ||
date_spec.js | ||
encode_spec.js | ||
excerpt_spec.js | ||
facebook_url_spec.js | ||
foreach_spec.js | ||
get_spec.js | ||
ghost_foot_spec.js | ||
ghost_head_spec.js | ||
has_spec.js | ||
img_url_spec.js | ||
is_spec.js | ||
lang_spec.js | ||
link_class_spec.js | ||
link_spec.js | ||
meta_description_spec.js | ||
meta_title_spec.js | ||
navigation_spec.js | ||
next_post_spec.js | ||
page_url_spec.js | ||
pagination_spec.js | ||
plural_spec.js | ||
post_class_spec.js | ||
prev_post_spec.js | ||
price_spec.js | ||
raw_spec.js | ||
reading_time_spec.js | ||
t_spec.js | ||
tags_spec.js | ||
title_spec.js | ||
twitter_url_spec.js | ||
url_spec.js |