diff --git a/config.toml b/config.toml index 5ef59c0..4261fb2 100644 --- a/config.toml +++ b/config.toml @@ -2,6 +2,8 @@ # The URL the site will be built for base_url = "https://libregaming.org" +title = "LibreGaming" + # Whether to automatically compile all Sass files in the sass directory compile_sass = true diff --git a/templates/base.html b/templates/base.html index df04d83..e998160 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,7 +6,7 @@ - LibreGaming + {% block title %}{{ config.title }}{% endblock title %} diff --git a/templates/page.html b/templates/page.html index a6f3670..9312b64 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,6 +1,7 @@ {% extends "base.html" %} +{% block title %}{{ page.title }} - {{ super() }} {% endblock title %} {% block content %} {{ page.content | safe }} {% endblock content %}