Browse Source

Chapter 3: Static files (3d)

master
T. Meissner 6 years ago
parent
commit
04988648a1
2 changed files with 6 additions and 0 deletions
  1. BIN
      static/favicon.ico
  2. +6
    -0
      templates/base.html

BIN
static/favicon.ico View File

Before After

+ 6
- 0
templates/base.html View File

@ -2,6 +2,12 @@
{% block title %}Flasky{% endblock %} {% block title %}Flasky{% endblock %}
{% block head %}
{{ super() }}
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
<link rel="icon" href="{{ url_for('static', filename='favicon.ico') }}" type="image/x-icon">
{% endblock %}
{% block navbar %} {% block navbar %}
<div class="navbar navbar-inverse" role="navigation"> <div class="navbar navbar-inverse" role="navigation">
<div class="container"> <div class="container">


Loading…
Cancel
Save