Add the ability to include page titles in HTML title element

This commit is contained in:
Paweł Romanowski 2023-01-28 12:28:30 +01:00
parent eb82877d3d
commit cfbcb940be
11 changed files with 68 additions and 3 deletions

View file

@ -78,3 +78,14 @@ use_full_hack_font = false
# in your site's "static" directory.
# favicon = "/favicon.png"
# favicon_mimetype = "image/png"
# Optional: Set how <title> elements are rendered.
# Values:
# - "main_only" -- only the main title (`config.title`) is rendered.
# - "page_only" -- only the page title (if defined) is rendered,
# falling back to `config.title` if not defined or empty.
# - "combined" -- combine like so: "page_title | main_title",
# or if page_title is not defined or empty, fall back to `main_title`
#
# Note that the main (index) page only has the main title.
page_titles = "main_only"