metaTitle

generate a <title>...</title> tag in the form of "site name / page title", if no option is passed, or any other string.

@t(metaTitle{ Options })

Options

title: "[site name] / [page title]" - string

An optional override for the "[site name] / [page title]" combination.


Examples

Default usage:

<head>
    ...
    @t(metaTitle)
    ...
</head>

It is possible to pass a variable as the value for title. In case of leaving that variable undefined, the default combination will be used, leaving more control to the editors of the site.

<head>
    ...
    @t(metaTitle{ title: @p(meta_title) })
    ...
</head>