mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-18 16:01:40 +03: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. |
||
---|---|---|
.. | ||
amp_url_spec.js | ||
asset_url_spec.js | ||
author_fb_url_spec.js | ||
author_image_spec.js | ||
author_url_spec.js | ||
canonical_url_spec.js | ||
context_object_spec.js | ||
cover_image_spec.js | ||
creator_url_spec.js | ||
description_spec.js | ||
excerpt_spec.js | ||
image-dimensions_spec.js | ||
keywords_spec.js | ||
modified_date_spec.js | ||
og_type_spec.js | ||
paginated_url_spec.js | ||
published_date_spec.js | ||
rss_url_spec.js | ||
schema_spec.js | ||
structured_data_spec.js | ||
title_spec.js | ||
url_spec.js |