0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00
ghost/core/test/unit/server_helpers
Markus Siemens c5fe9aa99f Rewrite meta_description and meta_title to depend upon the current context
closes #4850

- fixed `meta_description` and `meta_title` when used within a `{{#foreach}}`
- `meta_description` and `meta_title` now depend upon the current context
  to get the right string (author bio, tag description, ...).
  Note: `ghost_head.js` and `ghost_head_spec.js` have been touched to add
  the required context information when calling the helpers.
2015-03-24 22:42:45 +01:00
..
asset_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
author_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
body_class_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
content_spec.js Update downsize node module. Small test updates. 2014-11-30 20:49:36 -08:00
date_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
encode_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
excerpt_spec.js Test update to handle downsize improvements 2014-12-14 23:37:00 +00:00
foreach_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
ghost_foot_spec.js Code Injection - adds perms, shortcuts, icon, flag 2014-12-04 13:34:44 +00:00
ghost_head_spec.js Rewrite meta_description and meta_title to depend upon the current context 2015-03-24 22:42:45 +01:00
has_spec.js Fix has helper tag matching 2015-01-09 21:52:23 +00:00
image_spec.js Change url and image into synchronous helpers 2014-12-29 18:44:15 +00:00
is_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
meta_description_spec.js Rewrite meta_description and meta_title to depend upon the current context 2015-03-24 22:42:45 +01:00
meta_title_spec.js Rewrite meta_description and meta_title to depend upon the current context 2015-03-24 22:42:45 +01:00
navigation_spec.js Update express-hbs to 0.8.4 2015-03-10 15:52:00 +00:00
page_url_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
pagination_spec.js Update express-hbs to 0.8.4 2015-03-10 15:52:00 +00:00
plural_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
post_class_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
tags_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
title_spec.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00
url_spec.js Don't pass external urls through createUrl 2015-02-12 23:09:12 +00:00
utils.js Refactor helpers & tests into individual files 2014-10-14 22:52:40 +02:00