0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/core/server/data/meta
Hannah Wolfe 243b387063 Helper Proxy & single express-hbs instance (#8225)
refs #8126, #8221, #8223

 New 'Proxy' for all helper requires
- this is not currently enforced, but could be, much like apps
- the proxy object is HUGE
- changed date to use SafeString, this should have been there anyway
- use the proxy for all helpers, including those in apps 😁

 🎨 Single instance of hbs for theme + for errors
- we now have theme/engine instead of requiring express-hbs everywhere
- only error-handler still also requires express-hbs, this is so that we can render errors without extra crud
- TODO: remove the asset helper after #8126 IF it is not needed, or else remove the TODO

🎨 Cleanup visibility utils
🎨 Clean up the proxy a little bit
🚨 Unskip test as it now works!
🎨 Minor amends as per comments
2017-04-04 18:07:35 +02:00
..
amp_url.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
asset_url.js Split css server templates (#8234) 2017-04-04 10:06:38 +01:00
author_fb_url.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
author_image.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
author_url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
canonical_url.js 🎨 add urlFor('admin') and increase usage of urlFor helper (#7935) 2017-02-02 18:51:35 +00:00
context_object.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
cover_image.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
creator_url.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
description.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
excerpt.js Fix facebook/twitter/schema description 2016-02-18 12:11:46 +00:00
image-dimensions.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
index.js Posts per page as theme-config (#8149) 2017-03-14 18:03:36 +01:00
keywords.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
modified_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
og_type.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
paginated_url.js 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
published_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
rss_url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00
schema.js Helper Proxy & single express-hbs instance (#8225) 2017-04-04 18:07:35 +02:00
structured_data.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
title.js 🎨 Move settings cache & cleanup settings API (#8057) 2017-02-27 16:53:04 +01:00
url.js 🎨 source out url utils from ConfigManager (#7347) 2016-09-20 15:59:34 +01:00