htmloptions

.htmloptions baseurl:{String? = null} title:{String? = null} -> Void

Configures HTML generation options.

.htmloptions baseurl:{https://example.com} title:{My Page}

Successive calls to this function merge with the previous options.

Parameters

baseurl

the base URL to use for resolving relative paths in the generated HTML, e.g. https://example.com. Trailing slashes are automatically ignored. If specified, a canonical link is set in the HTML's <head> and the sitemap is generated.

title
  • Optional

overrides the document name used in the HTML <title> tag. If unspecified, the document name (set via .docname) is used.

Wiki page

html-options