Show both page and website titles in the webpage html doc instead of only showing the website title
This commit is contained in:
parent
e7a9e6552d
commit
6e9d63d43b
|
@ -2,6 +2,8 @@
|
||||||
# The URL the site will be built for
|
# The URL the site will be built for
|
||||||
base_url = "https://libregaming.org"
|
base_url = "https://libregaming.org"
|
||||||
|
|
||||||
|
title = "LibreGaming"
|
||||||
|
|
||||||
# Whether to automatically compile all Sass files in the sass directory
|
# Whether to automatically compile all Sass files in the sass directory
|
||||||
compile_sass = true
|
compile_sass = true
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
<meta charset="utf-8"/>
|
<meta charset="utf-8"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>LibreGaming</title>
|
<title>{% block title %}{{ config.title }}{% endblock title %}</title>
|
||||||
<link href="{{ config.base_url | safe }}/style.css" rel="stylesheet">
|
<link href="{{ config.base_url | safe }}/style.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
<!-- SPDX-License-Identifier: CC0-1.0 -->
|
<!-- SPDX-License-Identifier: CC0-1.0 -->
|
||||||
|
|
||||||
|
{% block title %}{{ page.title }} - {{ super() }} {% endblock title %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
{{ page.content | safe }}
|
{{ page.content | safe }}
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in New Issue