Ghost/core/test/unit/helpers
Hannah Wolfe d2b1e0d4b7 Attr pass-thru & full context in partial helpers
refs #5162

- allow pagination and navigation partial helpers to have attributes passed through to them
    - e.g. {{navigation header=true}} -> {{#if header}} will now work
    - allows styling navigation to be done differently for different sections of the page
- properly create a data frame, and pass through "this" context
    - means {{navigation header=true}} is the same as {{> navigation header=true navigation=@site.navigation}}
    - our partial helpers, have the same behaviour exactly as if the partial was called directly
- this is additive, and improves behaviour
2019-03-09 21:21:01 +00:00
..
test_tpl Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
asset_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
author_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
authors_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
body_class_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
content_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
date_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
encode_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
excerpt_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
facebook_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
foreach_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
get_spec.js Renamed authors ctrl to authors-public 2019-02-26 08:33:10 +01:00
ghost_foot_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
ghost_head_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
has_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
img_url_spec.js 🐛 Supported "false" as absolute attribute value (#10556) 2019-03-04 11:23:42 +01:00
index_spec.js 🎨 Added additional parameters to subscribe_form and input_email helpers (#9820) 2018-08-30 17:17:27 +01:00
is_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
lang_spec.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
meta_description_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
meta_title_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
navigation_spec.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
next_post_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
page_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
pagination_spec.js Attr pass-thru & full context in partial helpers 2019-03-09 21:21:01 +00:00
plural_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
post_class_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
prev_post_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
reading_time_spec.js Changes for Koenig and Ghost 2.0 (#9750) 2018-08-16 12:13:24 +02:00
t_spec.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
tags_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
template_spec.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
title_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
twitter_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
url_spec.js 🐛 Supported "false" as absolute attribute value (#10556) 2019-03-04 11:23:42 +01:00
utils_spec.js Changes for Koenig and Ghost 2.0 (#9750) 2018-08-16 12:13:24 +02:00