Title

The <title> HTML element defines the document’s title that is shown in a browser’s title bar or a page’s tab. It only contains text; tags within the element are ignored.

Settings

You can set a separator and a suffix in config/_default/params.toml:

params.toml
# SEO (@thulite/seo)
[seo]
  [seo.title]
    separator = "" # "|" (default)
    suffix = "" # title set in hugo.toml (default)

You can set a custom title in the frontmatter of a page:

---
seo:
  title: "" # custom title (optional)
---

Generated meta tag

If a custom title is set in the frontmatter of a page, that title is used.

Otherwise, the title set in the frontmatter of a page, followed by the separator (surrounded by spaces), and the suffix is used.

Thulite SEO generates the following meta tag — for example:

<title>Example Guide | My Docs</title>

Resources