0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/frontend/helpers
Hannah Wolfe 409dc3b534
Added frontend key to ghost_head for portal (#14782)
refs: https://github.com/TryGhost/Team/issues/1599
refs: f3d5d9cf6b

- this commit adds the concept of a frontend data service, intended for passing data to the frontend from the server in a clean way. This is the start of a new & improved pattern, to hopefully reduce coupling
- the newly added internal frontend key is then exposed through this pattern so that the frontend can make use of it
- the first use case is so that portal can use it to talk to the content API instead of having weird endpoints for portal
- this key will also be used by other internal scripts in future, it's public and therefore safe to expose, but it's meant for internal use only and therefore is not exposed in a generic way e.g. as a helper
2022-05-11 17:34:31 +01:00
..
tpl Updated content cta helper to use new tiers helper 2022-03-04 18:22:59 +05:30
asset.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
authors.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
body_class.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
cancel_link.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
concat.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
content.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
date.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
encode.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
excerpt.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
facebook_url.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
foreach.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
get.js Refactored async helpers to use async/await (#14781) 2022-05-11 09:51:38 +01:00
ghost_foot.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
ghost_head.js Added frontend key to ghost_head for portal (#14782) 2022-05-11 17:34:31 +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
is.js Removed core @tryghost pkg usage from f/e proxy 2021-09-28 12:19:02 +01:00
lang.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
link.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
link_class.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
match.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +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 support for http/https mixed mode (#14783) 2022-05-11 14:53:23 +01:00
page_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
pagination.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
plural.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
post_class.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
prev_post.js Refactored async helpers to use async/await (#14781) 2022-05-11 09:51:38 +01:00
price.js Added a note to potentially breaking price helper 2022-04-01 11:33:02 +08:00
products.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
raw.js Added raw handlebars helper 2020-04-06 17:26:50 +01:00
reading_time.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
t.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
tags.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
tiers.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
title.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
twitter_url.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00
url.js Renamed rendering service to handlebars 2022-04-05 20:10:33 +01:00