Ghost/core/server/helpers
Rish a4f119cb7f Moved visibility utility from static model fn to Ghost-SDK
refs #10618

- Visibility methods don't belong on model, but are generic utils
- Used directly from ghost helper's visibility methods, cleans up core
- Removes direct model dependency of theme helper
- Updated `foreach_spec` to correct test data as per schema - visibility property cannot be empty
2019-06-09 13:12:04 +05:30
..
tpl
asset.js Migrated asset and author helpers to es6 (#10611) 2019-03-26 10:06:41 +05:30
author.js
authors.js Moved visibility utility from static model fn to Ghost-SDK 2019-06-09 13:12:04 +05:30
body_class.js 🐛 Fixed 500 template error occurring in place of a 404 for missing pages/assets (#10660) 2019-04-04 14:41:56 +01:00
content.js Migrated body_class, content and date helpers to ES6 (#10644) 2019-04-02 08:36:13 +02:00
date.js Migrated body_class, content and date helpers to ES6 (#10644) 2019-04-02 08:36:13 +02:00
encode.js Migrated encode, facebook_url and foreach helpers to es6 (#10655) 2019-04-22 17:54:42 +02:00
excerpt.js 🐛 Fixed returning 'null' text for exerpt helper 2019-03-04 14:39:20 +08:00
facebook_url.js Migrated encode, facebook_url and foreach helpers to es6 (#10655) 2019-04-22 17:54:42 +02:00
foreach.js Moved visibility utility from static model fn to Ghost-SDK 2019-06-09 13:12:04 +05:30
get.js Added logging of slow {{#get}} helper uses (#10779) 2019-06-07 14:54:55 +01:00
ghost_foot.js Removed use of filters module 2019-04-16 11:05:33 +02:00
ghost_head.js Updated ghost_head to include the members scripts 2019-04-24 12:46:00 +02:00
has.js
img_url.js 🐛 Fixed img-url to output relative url by default (#10596) 2019-03-11 15:20:05 +01:00
index.js Removed use of filters module 2019-04-16 11:05:33 +02:00
is.js
lang.js
meta_description.js
meta_title.js
navigation.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
page_url.js
pagination.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
plural.js
post_class.js
prev_next.js
proxy.js Moved visibility utility from static model fn to Ghost-SDK 2019-06-09 13:12:04 +05:30
reading_time.js Updated reading time helper to use SDK 2019-05-07 15:33:07 +05:30
register.js
t.js
tags.js Moved visibility utility from static model fn to Ghost-SDK 2019-06-09 13:12:04 +05:30
template.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
title.js
twitter_url.js
url.js 🐛 Supported "false" as absolute attribute value (#10556) 2019-03-04 11:23:42 +01:00
utils.js Updated to use count words/images helpers from SDK (#10686) 2019-04-16 08:00:01 +05:30