description tag
Purpose
Prints the description (title attribute) of the page.
How to use?
Just insert the tag into your template/page like:
{description}
You will find this field in the options tab of the page editor.
Available parameters
- assign - Assign the results to a smarty variable with that name.
Syntax examples
{description assign=foo}
{if $foo}
<meta name="description" content="{description} - {sitename}" />
{else}
<meta name="description" content="{title} - {sitename}" />
{/if}
{if $foo}
<meta name="description" content="{description} - {sitename}" />
{else}
<meta name="description" content="{title} - {sitename}" />
{/if}