User Tools

Site Tools


en:public:developer:template_system:tags:headelement:meta_title

This is an old revision of the document!


<#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 doctype for the current page then the domain Name (Without any extension) will be returned

Example

<#meta_title>

will return

<title>My title</title>
en/public/developer/template_system/tags/headelement/meta_title.1362225369.txt.gz · Last modified: 2013/03/02 15:56 by admin