Mecha CMS

Mecha CMS blog and documentation.

Custom Title Separator

Table of Contents
  1. Before 
  2. After 

Set your own document title separator.

Before 

Example:

<title><?php echo $t->reverse; ?></title>

Result:

<title>Article Title · Site Title</title>

After 

Example:

<title><?php echo $t->reverse->join(' | '); ?></title>

Result:

<title>Article Title | Site Title</title>