0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/server/services/routing
kirrg001 0046dce39f Dynamic Routing Beta: Better template support
refs #9601

- single or multiple template definition
- possible formats:

```
routes:
  /about/: about
```

```
routes:
  /about/:
    template: about
```

```
routes:
  /about/:
    template:
      - about
      - me
```

```
collections
  /posts/:
    template:
      - posts
      - general
```

```
collections
  /posts/:
    template: posts
```
2018-06-21 16:22:45 +02:00
..
controllers 🐛 Fixed preview url and Zapier on subdirectory (#9683) 2018-06-12 16:36:58 +01:00
helpers Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
middlewares
bootstrap.js 🐛 Fixed {{#is "index"}} 2018-06-14 11:53:13 +02:00
CollectionRouter.js Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
index.js
ParentRouter.js ParentRouter: Added wrapper for Express Router 2018-06-13 21:22:10 +02:00
PreviewRouter.js
registry.js 🐛 Fixed {{#is "index"}} 2018-06-14 11:53:13 +02:00
RSSRouter.js
StaticPagesRouter.js
StaticRoutesRouter.js Dynamic Routing Beta: Better template support 2018-06-21 16:22:45 +02:00
TaxonomyRouter.js