0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
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
cancel_link.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
concat.js
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
excerpt.js
facebook_url.js
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
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
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.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
link_class.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
meta_title.js
navigation.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
page_url.js
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
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
reading_time.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
t.js
tags.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
title.js
twitter_url.js
url.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00