Ghost/core/server/data/meta
kirrg001 a1b55509df Dynamic Routing Beta: collection name behaviour
refs #9601

Example:

```
collections:
  /podcast/:
    permalink: /{slug}/
```

- the name of the collection is remembered as `routerName` (in the case above: "podcast")
- the name of the collection is important for two things
  1. context value
  2. template name
- the context value is available for specific theme helpers e.g. is helper, body_class helper
- we auto-lookup the collection name in your theme e.g. podcast.hbs
- this logic does not apply to static routes
- if you define templates on your collection, they are stronger than the collection name
2018-06-21 20:59:43 +02:00
..
amp_url.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
asset_url.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
author_fb_url.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
author_image.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
author_url.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
blog_logo.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
canonical_url.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
context_object.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
cover_image.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
creator_url.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
description.js Moved labs, auth, permissions, settings, mail, themes to services (#9339) 2017-12-14 03:01:23 +01:00
excerpt.js Switch to Eslint (#9197) 2017-11-01 13:44:54 +00:00
image-dimensions.js Moved image utils to lib/image 2017-12-14 20:46:53 +01:00
index.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
keywords.js 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
modified_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
og_image.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
og_type.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
paginated_url.js Replaced routeKeywords in config with hard coded keywords (#9561) 2018-04-17 10:36:05 +01:00
published_date.js [FEATURE] AMP (#7229) 2016-08-22 18:49:27 +02:00
rss_url.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
schema.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
structured_data.js Moved social utility to lib/social 2017-12-14 22:34:05 +01:00
title.js 🐛Fixed i18n for the {{meta_title}} helper (#9468) 2018-03-19 09:48:07 +01:00
twitter_image.js Moved utils/url.js to UrlService 2017-12-11 20:05:33 +01:00
url.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00