add icon to header of index page
This commit is contained in:
parent
c0040dfe45
commit
4cd7b8b118
|
@ -6,6 +6,7 @@
|
||||||
<meta name=viewport content="width=device-width, initial-scale=1.0">
|
<meta name=viewport content="width=device-width, initial-scale=1.0">
|
||||||
<link rel=icon href="/static/img/favicon.png">
|
<link rel=icon href="/static/img/favicon.png">
|
||||||
<link rel=stylesheet href="/static/css/common.css">
|
<link rel=stylesheet href="/static/css/common.css">
|
||||||
|
{% block head %}{% endblock head %}
|
||||||
<body>
|
<body>
|
||||||
<h1>{% block titleheader %}{{ self.title() }}{% endblock titleheader %}</h1>
|
<h1>{% block titleheader %}{{ self.title() }}{% endblock titleheader %}</h1>
|
||||||
{% block header %}
|
{% block header %}
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
{% extends 'base.j2.html' %}
|
{% extends 'base.j2.html' %}
|
||||||
|
|
||||||
|
{% block head %}<link rel=stylesheet href="/static/css/index.css">{% endblock %}
|
||||||
|
|
||||||
{% block title %}Freak University{% endblock title%}
|
{% block title %}Freak University{% endblock title%}
|
||||||
|
{% block titleheader %}<img src="/static/img/favicon.png"> {{ self.title() }}{% endblock titleheader %}
|
||||||
|
|
||||||
{# the home page does not need a link back to home #}
|
{# the home page does not need a link back to home #}
|
||||||
{% block header %}{% endblock header %}
|
{% block header %}{% endblock header %}
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
img {
|
||||||
|
max-width: 1em;
|
||||||
|
object-fit: contain;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
Loading…
Reference in New Issue