-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Red favicon for dev #2470
Red favicon for dev #2470
Conversation
@@ -5,6 +5,7 @@ | |||
%meta{:name => 'viewport', :content => 'width=device-width, initial-scale=1'}/ | |||
%meta{'http-equiv' => 'X-UA-Compatible', :content => 'IE=edge'}/ | |||
|
|||
%link{:rel => "icon", :href => "#{favicon_path}", :type => "image/x-icon"}/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The quotes and interpolation around the helper method are optional/redundant here.
%link{:rel => "icon", :href => favicon_path, :type => "image/x-icon"}/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whoops! Updated. (I feel like it's been so long since I've used haml I overthought it)
* Set a dev specific favicon * Consistent spacing * Add trailing slash for consistency * Update to remove interpolation
Clean up some more and reduce unwarranted differences with upstream further
This is super low priority but I found it helpful in my own work so I don't confuse local dev and production environments to have a red favicon on the dev environment. It's something that I have found super helpful, though my feelings won't be hurt if you decide not to merge. 😄