0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/core/server
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
..
admin 🎨 public config endpoint (#7631) 2016-10-28 14:07:46 +01:00
api Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
apps More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
auth 🎨 optimisations for brute (#7867) 2017-01-23 22:44:39 +01:00
blog Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
config Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
controllers/frontend Make AMP optional (#7830) 2017-01-17 16:40:06 +01:00
data Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
events post-scheduling 2016-06-14 10:52:13 +02:00
helpers Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
mail More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
middleware Favicon URI (#7700) 2017-01-26 18:01:19 +00:00
models 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
permissions 🐛 fix invite permissions for editor (#7889) 2017-01-25 12:07:31 +00:00
scheduling Shows help message for broken require in scheduler adapter (#7706) 2017-01-16 21:49:41 +01:00
storage 💄 Improve URL consistency, Part 1: urlJoin (#7668) 2016-11-14 14:38:55 +00:00
themes 🎉 🎨 Remove middleware/index.js (#7548) 2016-10-13 17:24:09 +02:00
translations 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
utils 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
views Switch to new native system font stack (#7219) 2016-08-18 20:29:46 +01:00
app.js 🎨 logging improvements (#7597) 2016-10-25 12:17:43 +01:00
errors.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
filters.js
ghost-server.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00
i18n.js improvement: general fixes 2016-06-01 07:07:20 +02:00
index.js 🔥 remove database version (#7894) 2017-01-26 12:12:00 +00:00
logging.js 🛠 use Ignition for logging/errors (#7869) 2017-01-23 11:04:01 +00:00
overrides.js 🛠 update lodash,knex and bookshelf to latest versions 2016-09-26 10:20:55 +02:00
update-check.js More consistant usage of urlFor('home') (#7689) 2017-01-23 09:22:37 +01:00