Table of Contents

<#meta_title>

This tag gives the HTML <title>…<title> meta tag

Cfgpages configuration

The title is taken from the cfgpages. If for exemple the cfgpages contain the node

  <page name='/'>
    <cfg> 
      <metatags> 
        <title>My title</title>
      </metatags> 
    </cfg>
  </pages>

the result of <#meta_title> for the page ”/” will be ”<title>My title</title>”

Parameters

Name Mandatory Default Description
WithHtmlTag No 1 If 0 return the title content without the <title></title> html tag

Default

if cfgpages does not contain the node

  <page name='/'>
    <cfg> 
      <metatags> 
        <title>My title</title>
      </metatags> 
    </cfg>
  </pages>

then the function will look for

  <page name='/'>
    <cfg> 
      <long_title>My title</long_title>
    </cfg>
  </pages>

if still not found then for

  <page name='/'>
    <cfg> 
      <title>My title</title>
    </cfg>
  </pages>

and if still not found then the domain Name (Without any extension) will be returned

Example

<#meta_title>

will return

<title>My title</title>