Ghost/core
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
..
client@21dc92582e Updated Ghost-Admin to 1.24.5 2018-06-19 17:18:01 +02:00
server Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
test Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
index.js Misc grunt /dev updates 2015-05-28 20:25:14 +01:00