templates: propagate page title to html title element

This commit is contained in:
Colin 2022-04-05 21:22:51 +00:00
parent 53b59ca713
commit e08a5dce92
3 changed files with 9 additions and 1 deletions

View File

@ -8,6 +8,10 @@
{% block breadcrumbs_right %}
{% endblock breadcrumbs_right %}
{% block title %}
About |Perfectly Sane
{% endblock title %}
{% block content %}
<h1>
{{ page.title }}

View File

@ -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:,">

View File

@ -4,6 +4,10 @@
/ <a href="/">home</a> / <a>blog</a>
{% endblock breadcrumbs %}
{% block title %}
{{ page.title }}
{% endblock title %}
{% block content %}
<h1>