0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-10 23:36:14 -05:00
ghost/core/frontend/services/routing/controllers
Nazar Gargol 157820419a 🐛 Fixed error when rendering static page from dynamic route
no issue

- When having following routes.yaml configuation and theme runing API v3:
routes:
  /:
    data: page.home
    template: home

- There was an internall error in meta layer: `Cannot read property 'website' of undefined` which was caused by not being able to read primary_author on a fetched page
- We need to include authors and tags for pages, the same way we do for posts to prevent this error (as they should have identical properties from meta layer perspective)
2019-11-25 18:34:37 +07:00
..
channel.js
collection.js Reduced API debug statements 2019-10-15 15:07:38 +01:00
entry.js Added access property to entries for v3+ api 2019-10-16 14:15:52 +07:00
index.js
preview.js Fixed post preview access flag in 3.0 (#11275) 2019-10-31 13:58:47 +07:00
rss.js
static.js 🐛 Fixed error when rendering static page from dynamic route 2019-11-25 18:34:37 +07:00