mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-27 22:49:56 -05:00
d2f2888da0
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. |
||
---|---|---|
.. | ||
api | ||
auth | ||
config | ||
controllers/frontend | ||
metadata | ||
middleware | ||
models/base | ||
models_plugins | ||
scheduling | ||
server_helpers | ||
sitemap | ||
storage | ||
utils | ||
api_utils_spec.js | ||
apps_filters_spec.js | ||
apps_spec.js | ||
errors_spec.js | ||
exporter_spec.js | ||
filters_spec.js | ||
ghost_url_spec.js | ||
importer_spec.js | ||
migration_fixture_utils_spec.js | ||
migration_spec.js | ||
permissions_spec.js | ||
rss_spec.js | ||
server_helpers_index_spec.js | ||
server_helpers_template_spec.js | ||
server_utils_spec.js | ||
showdown_client_integrated_spec.js | ||
slack_spec.js | ||
social-urls_spec.js | ||
utils_pipeline_spec.js | ||
validation_spec.js | ||
xmlrpc_spec.js |