diff --git a/README.md b/README.md index efb9d42..92ec877 100644 --- a/README.md +++ b/README.md @@ -373,6 +373,6 @@ If something is missing for you, please open an issue. - [x] ASCII banner does not overflow - [x] write setup/configuration guide - [x] reference water.css semantic styling - - [x] RSS links + - [ ] RSS (missing localized title and description) - [x] hacking guides for: edition, translation, webdesign - [ ] reference quickstart guide for git diff --git a/config.toml b/config.toml index d8b4c18..f5de316 100644 --- a/config.toml +++ b/config.toml @@ -20,8 +20,8 @@ languages = [ ] [extra] -# Put all your custom variables here -title = "dnsmanager - liberate your zones" +# The common part of the title (appended to page/section titles) +title = " | dnsmanager" [extra.forge] browse = "https://tildegit.org/southerntofu/dnsmanager-website/src/branch/master/" home = "https://tildegit.org/" diff --git a/templates/index.html b/templates/index.html index 3577eee..6df871b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -4,7 +4,7 @@ - {{ config.extra.title }} + {% block title %}{{ section.title }}{% endblock %} diff --git a/templates/page.html b/templates/page.html index 469c889..d24575a 100644 --- a/templates/page.html +++ b/templates/page.html @@ -1,6 +1,6 @@ {% extends "index.html" %} -{% block title %}{{ page.title }} - {{ config.title }}{% endblock %} +{% block title %}{{ page.title }}{{ config.extra.title }}{% endblock %} {% block main %}
diff --git a/templates/section.html b/templates/section.html index 6b58372..0d04a5c 100644 --- a/templates/section.html +++ b/templates/section.html @@ -1,6 +1,6 @@ {% extends "index.html" %} -{% block title %}{{ section.title }} - {{ config.title }}{% endblock %} +{% block title %}{{ section.title }}{{ config.extra.title }}{% endblock %} {% block main %}