User Tools

Site Tools


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

<#meta_description>

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

Cfgpages configuration

The description 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.txt · Last modified: 2013/03/02 16:25 by admin