User Tools

Site Tools


en:public:developer:template_system:tags:headelement:meta_description

This is an old revision of the document!


<#meta_description>

This tag gives the HTML <meta name=“description” content=”…” /> meta tag

Cfgpages configuration

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

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

the result of <#meta_description> for the page ”/” will be <meta name=“description” content=“My description” />

Parameters

Name Mandatory Default Description
WithHtmlTag No 1 If 0 return the description without the <meta name=“description” content=”…” /> html tag

Example

<#meta_description>

will return

<meta name="description" content="My description" />
en/public/developer/template_system/tags/headelement/meta_description.1362227078.txt.gz · Last modified: 2013/03/02 16:24 by admin