0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/test/unit
kirrg001 fef0aa44d3 🐛 Fixed meta twitter_image output when using data: post.{slug} for routes
refs #10082

```
routes:
  /news/:
    data: post.news
```

The twitter_image was not available, because the context is [news, post] and the data is in `data.post`.
The context helper was incorrect. I think it is still not fully correct, but only focused on this use case.
The meta layer needs a full refactoring.
2019-03-12 12:13:47 +01:00
..
adapters Removed superagent dependency (#10535) 2019-03-04 15:59:38 +08:00
api 🐛 Fixed field filtering for /authors/:id endpoints 2019-03-05 15:18:32 +08:00
apps 🐛 Fixed empty amp page 2019-02-27 17:56:09 +01:00
config Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
data 🐛 Fixed meta twitter_image output when using data: post.{slug} for routes 2019-03-12 12:13:47 +01:00
helpers 🐛 Fixed img-url to output relative url by default (#10596) 2019-03-11 15:20:05 +01:00
lib Updated mobiledoc renderer to insert begin/end HTML comments around cards 2019-02-25 18:05:01 +07:00
models Removed 'null' parsing in settings model 2019-03-11 20:07:48 +01:00
public Refactored Ghost SDK unit test 2018-10-05 16:49:46 +02:00
services Added Canonical URL support to posts&pages in Admin & Content API v2 (#10594) 2019-03-12 17:51:29 +08:00
web Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00
filters_spec.js Bumped sinon from 4.4.6 to 7.3.2 (#10400) 2019-01-21 17:53:44 +01:00