Ghost/core/test/utils
Aileen Nowak d2f2888da0 Favicon URI (#7700)
closes #7688

- Use `/favicon.ico` and `/favicon.png` in blog app. Depending on type of storage (custom upload = local file storage), serves either from storage adapter with `read()` method or reads the bytes via `fs`.
- Redirects requests for `favicon.ico` to `favicon.png` if custom `png` icon is uploaded and vice versa.
- Redirect requests for `favicon.png` to `favicon.ico` if default icon is used (in `core/shared`).
- Changes the `{{asset}}` helper for favicon to not serve from theme assets anymore. It will either be served the custom blog-icon or the default one.
- The `{{@blog.icon}}` helper renders the url of the **uploaded** blog icon. It won't render the default icon.
2017-01-26 18:01:19 +00:00
..
fixtures Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
mocks improvement: add mocks helper module for test env 2016-06-10 09:23:00 +02:00
api.js 🎨 Use GhostAuth name and example emails (#7475) 2016-10-03 15:11:43 +01:00
assertions.js 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
configUtils.js 🚨 change logic for test/utils/configUtils 2016-09-20 15:59:34 +01:00
fork.js knex migrator (#7565) 2016-10-17 13:50:29 +01:00
index.js 🔥 😎 remove old migrations (#7887) 2017-01-25 13:47:49 +00:00