Ghost/core/server/helpers
Hannah Wolfe 5365094dfc 🐛 Provided get helper filters access to globals
closes #10448

- using @site.lang to read posts is a valid use case for the get helper filters
- get helper filters have special treatment of anything wrapped in {{}}, in the form of resolvePaths
- resolvePaths uses some custom logic + jsonpath to find the right bit of data to inject
- this function had no handling for globals starting with `@`, and also didn't have access to them
2019-02-04 15:26:45 +00:00
..
tpl
asset.js
author.js
authors.js
body_class.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
content.js
date.js
encode.js
excerpt.js Added calculated excerpt field to Content API v2 (#10326) 2019-01-04 19:00:45 +01:00
facebook_url.js
foreach.js
get.js 🐛 Provided get helper filters access to globals 2019-02-04 15:26:45 +00:00
ghost_foot.js
ghost_head.js
has.js Switched to eslint-plugin-ghost (#9835) 2018-09-17 20:49:30 +02:00
img_url.js Fixed img_url to work with protocol relative urls 2019-01-21 11:41:23 +01:00
index.js
is.js
lang.js
meta_description.js
meta_title.js
navigation.js Switched to using safe string for navigation slug (#10267) 2018-12-13 12:30:56 +00:00
page_url.js
pagination.js Updated docs links to best equivalents (#10386) 2019-01-17 06:57:37 +00:00
plural.js
post_class.js
prev_next.js 🐛 Fixed prev_next helper when using Content API v2 (#10397) 2019-01-21 11:48:18 +01:00
proxy.js
reading_time.js
register.js
t.js
tags.js
template.js
title.js
twitter_url.js
url.js
utils.js 🐛 Returned 0 for word/image count when html is null 2019-01-29 13:35:00 +01:00