Forums / Setup & design / [SiteSettings]
enigmista enigmista
Thursday 17 July 2003 6:22:01 am
I have in my site.ini.append this: MetaDataArray[author]=enigmista - webmaster@mysite.it
How can i use it in my pagelayout.tpl? example: <meta name="author" content="??????" />
Bård Farstad
Thursday 17 July 2003 6:23:59 am
Try: {section name=meta loop=$site.meta} <meta name="{$meta:key|wash}" content="{$meta:item|wash}" /> {/section}
--bård
Documentation: http://ez.no/doc
Karsten Jennissen
Thursday 17 July 2003 6:27:16 am
Take a look at /design/standard/templates/page_head.tpl for an example.
Karsten
Thursday 17 July 2003 7:02:26 am
Ok tnx. This is a common meta (useful for anyone): MetaDataArray[author]= MetaDataArray[copyright]= MetaDataArray[description]= MetaDataArray[keywords]= MetaDataArray[language]= MetaDataArray[distribution]= MetaDataArray[Reply-to]= MetaDataArray[MSSmartTagsPreventParsing]= MetaDataArray[robots]= MetaDataArray[Generator]=eZ publish 3.1MetaDataArray[revisit-after]=