title: How to add an icon in the address bar in Flask?
body: <p>I am reading the book: <em>Flask Web Developmen</em>. Below are the book's codes for adding an icon in the address bar:</p>
  
  <pre><code>{% block head %}
  {{ super() }}
  
  &lt;link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" 
  type="image/x-icon"&gt;
  &lt;link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}"
  type="image/x-icon"&gt;
  
  {% endblock %}
  </code></pre>
  
  <p>My question is: why it needs two links to add one icon.
  In HTML, this oneline <code>&lt;link rel="shortcut icon" href="static/favicon.ico"&gt;</code> is enough for this task. Doesn't it? </p>