mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -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. |
||
---|---|---|
.. | ||
amp_url.js | ||
asset_url.js | ||
author_fb_url.js | ||
author_image.js | ||
author_url.js | ||
canonical_url.js | ||
context_object.js | ||
cover_image.js | ||
creator_url.js | ||
description.js | ||
excerpt.js | ||
image-dimensions.js | ||
index.js | ||
keywords.js | ||
modified_date.js | ||
og_type.js | ||
paginated_url.js | ||
published_date.js | ||
rss_url.js | ||
schema.js | ||
structured_data.js | ||
title.js | ||
url.js |