templates: propagate page title to html title element
This commit is contained in:
parent
53b59ca713
commit
e08a5dce92
|
@ -8,6 +8,10 @@
|
|||
{% block breadcrumbs_right %}
|
||||
{% endblock breadcrumbs_right %}
|
||||
|
||||
{% block title %}
|
||||
About |Perfectly Sane
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
<h1>
|
||||
{{ page.title }}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Perfectly Sane</title>
|
||||
<title>{% block title%}Perfectly Sane{% endblock %}</title>
|
||||
<link rel="stylesheet" href="{{ get_url(path="static/style.css") | safe }}">
|
||||
{# i have no favicon: this disable requests to /favicon.ico #}
|
||||
<link rel="icon" href="data:,">
|
||||
|
|
|
@ -4,6 +4,10 @@
|
|||
/ <a href="/">home</a> / <a>blog</a>
|
||||
{% endblock breadcrumbs %}
|
||||
|
||||
{% block title %}
|
||||
{{ page.title }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>
|
||||
|
|
Loading…
Reference in New Issue