Ghost/core/server/data
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
..
db Backup endpoint improvements (#9365) 2018-01-11 16:03:21 +01:00
export Backup endpoint improvements (#9365) 2018-01-11 16:03:21 +01:00
importer 🐛 Fixed unable to publish a post after slack hook import 2018-06-11 11:08:08 +02:00
meta Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
migrations 🔥 Drop Node v4 Support 2018-05-01 14:06:18 +02:00
schema Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
validation Improved validation layer (#9427) 2018-02-16 00:49:15 +01:00
xml/sitemap Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
timezones.json