Ghost/core/frontend/helpers
Jonas Fabisiak 58ac033b97
Updated head to only output custom favicons (#11949)
closes #11932

- as per the issue, there is no need to output a <link> tag if the favicon is the default /favicon.ico, as all browsers automatically check for this 
- instead the favicon <link> is only output if a custom favicon has been set, telling the browser to look somewhere different to its default location
- some of the tests expected 3 links in the html head, but through the favicon change there are often only 2.

Co-authored-by: RenCloud <rencloud@pop-os.localdomain>
2020-06-30 15:07:08 +01:00
..
tpl 🐛 Removed incorrect a11y roles from navigation template (#11833) 2020-05-22 18:19:35 +01:00
asset.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
author.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
authors.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
body_class.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
cancel_link.js Moved labs usage into cancel_link helper file 2020-04-08 19:31:55 +01:00
concat.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
content.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
date.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
encode.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
excerpt.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
facebook_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
foreach.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
get.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
ghost_foot.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
ghost_head.js Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
has.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
img_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
index.js Improved helper index, use glob to read directory 2020-04-10 13:08:41 +01:00
is.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
lang.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
link_class.js Moved non-helper code out of helpers 2020-04-10 12:27:43 +01:00
link.js Moved non-helper code out of helpers 2020-04-10 12:27:43 +01:00
meta_description.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
meta_title.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
navigation.js 🐛 Fixed logic error in navigation for isSecondary 2020-05-18 19:15:28 +01:00
page_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
pagination.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
plural.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
post_class.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
prev_post.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
price.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
raw.js Added raw handlebars helper 2020-04-06 17:26:50 +01:00
reading_time.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
t.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
tags.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
title.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
twitter_url.js Moved helper proxy into a service 2020-04-08 17:22:44 +01:00
url.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00