Answers.Body: <p>Just like you would add a regular favicon just in your head.
  If you want it to be an uploaded picture I would say:</p>
  
  <p>Make a global and add a field like "favicon" to it and upload your image there and display it like:</p>
  
  <pre><code>{% for image in favicon.fav %}
  &lt;link rel="icon" type="image/png" sizes="16x16" href="{{ image.url }}"&gt;
  {% endfor %}
  </code></pre>
  
  <p>But what I always do is just go to a favicon generator like:
  <a href="http://www.favicon-generator.org/" rel="noreferrer">http://www.favicon-generator.org/</a></p>
  
  <p>And upload your logo and copy paste that code in your <code>&lt;head&gt;</code> tags in your <code>_layout.html</code> file</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-21T15:23:56.463Z
Answers.Text: Thanks, Justin, will bear in mind your advice and let you know how we get on
Answers.UserDisplayName: JasonD
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-17T08:15:35.263Z
Answers.Text: In general I don't see any need for this to be editable through the CMS, so you could also just add the code and images to your layout template, and put the image files where they need to be on the server.
Answers.UserDisplayName: darylknight
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-02-17T10:49:06.850Z
Answers.LastActivityDate: 2017-02-17T10:49:06.850Z
Answers.UserDisplayName: Justin Dekkers
Answers.Body: <p>Here is an article about creating favicons from images uploaded through the control panel:</p>
  
  <p><a href="http://craftsnippets.com/articles/adding-favicons-to-craft-cms-website?s=s" rel="nofollow noreferrer">http://craftsnippets.com/articles/adding-favicons-to-craft-cms-website?s=s</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-17T06:33:22.930Z
Answers.LastActivityDate: 2019-07-17T06:33:22.930Z
Answers.UserDisplayName: Piotr Pogorzelski
Body: <p>I'm a newbie to Craft so apologies if this has been answered or is too simplistic for the forum but how do I change my site's favicon? Thank you.</p>
  
Tags: <assets>
Title: How do I add a favicon
ThreadText: # How do I add a favicon
  
  (Asked by: username_0 on 2017-02-17)
  
  I'm a newbie to Craft so apologies if this has been answered or is too simplistic for the forum but how do I change my site's favicon? Thank you.
  
  **Tags:** assets
  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_1 on 2017-02-17. Score: 5
  
  Just like you would add a regular favicon just in your head.
  If you want it to be an uploaded picture I would say:
  
  Make a global and add a field like "favicon" to it and upload your image there and display it like:
  
  ```
  {% for image in favicon.fav %}
  <link rel="icon" type="image/png" sizes="16x16" href="{{ image.url }}">
  {% endfor %}
  
  ```
  
  But what I always do is just go to a favicon generator like:
  <http://www.favicon-generator.org/>
  
  And upload your logo and copy paste that code in your `<head>` tags in your `_layout.html` file
  
  > **Comments:**
  > **username_0**: Thanks, username_1, will bear in mind your advice and let you know how we get on  
  > **username_2**: In general I don't see any need for this to be editable through the CMS, so you could also just add the code and images to your layout template, and put the image files where they need to be on the server.  
  
  ---
  
  ### Answer by username_3 on 2019-07-17. Score: 1
  
  Here is an article about creating favicons from images uploaded through the control panel:
  
  <http://craftsnippets.com/articles/adding-favicons-to-craft-cms-website?s=s>
  
  
  ---
  
  