Ghost/core/frontend/helpers
Hannah Wolfe 52b924638d
Removed core @tryghost pkg usage from f/e proxy
- The frontend proxy is meant to be a way to pass critical internal pieces of Ghost core into the frontend
- These fundamental @tryghost packages are shared and can be required directly, hence there's no need to pass them via the proxy
- Reducing the surface area of the proxy reduces the proxies API
- This makes it easier to see what's left in terms of decoupling the frontend, and what will always need to be passed (e.g. api)

Note on @tryghost/social-urls:
- this is a small utility that helps create URLs for social profiles, it's a util for working with data on the frontend aka part of the sdk
- I think there should be many of these small helpers and we'll probably want to bundle them for the frontend at some point
- for now, I'm leaving these as part of the proxy, as need to figure out where they belong
2021-09-28 12:19:02 +01:00
..
tpl Added beta {{products}} helper for tiers list on post (#13267) 2021-09-10 09:30:41 +05:30
asset.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
author.js Swapped _.escape for proxy.escapeExpression 2021-06-04 20:07:44 +01:00
authors.js Swapped _.escape for proxy.escapeExpression 2021-06-04 20:07:44 +01:00
body_class.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
cancel_link.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
concat.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
content.js Removed hardcoded accent color fallbacks (#12813) 2021-03-24 18:25:26 +05:30
date.js Improved theme locale handling 2021-05-05 16:13:26 +01:00
encode.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
excerpt.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
facebook_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
foreach.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
get.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
ghost_foot.js Updated ghost_head & ghost_foot to work with tags 2020-07-10 14:20:24 +02:00
ghost_head.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
has.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
img_url.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
index.js Improved helper index, use glob to read directory 2020-04-10 13:08:41 +01:00
is.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
lang.js Improved theme locale handling 2021-05-05 16:13:26 +01:00
link_class.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
link.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
match.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
meta_description.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
meta_title.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
navigation.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
page_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
pagination.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
plural.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
post_class.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
prev_post.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
price.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
products.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
raw.js Added raw handlebars helper 2020-04-06 17:26:50 +01:00
reading_time.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
t.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
tags.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
title.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
twitter_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
url.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00