Ghost/core/test/unit/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_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
asset_url_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
author_fb_url_spec.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
author_image_spec.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
author_url_spec.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
blog_logo_spec.js
canonical_url_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
context_object_spec.js
cover_image_spec.js
creator_url_spec.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
description_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
excerpt_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
image-dimensions_spec.js
keywords_spec.js
modified_date_spec.js
og_image_spec.js
og_type_spec.js
paginated_url_spec.js Dynamic Routing Beta (#9596) 2018-06-05 19:02:20 +02:00
published_date_spec.js
rss_url_spec.js Dynamic Routing Beta: collection name behaviour 2018-06-21 20:59:43 +02:00
schema_spec.js Multiple authors (#9426) 2018-03-27 15:16:15 +01:00
structured_data_spec.js
title_spec.js Removed old jshint/jscs rules 2018-06-02 21:48:23 +02:00
twitter_image_spec.js
url_spec.js 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00