private function parseMetaAndLinks()
{
$meta = '';
foreach ($this->meta as $attributes) {
$meta .= '<meta ';
foreach ($attributes as $key => $value) {
$meta .= $key . '="' . $value . '" ';
}
$meta = trim($meta);
$meta .= '>' . "\n";
}
$link = '';
foreach ($this->links as $attributes) {
$link .= '<link ';
foreach ($attributes as $key => $value) {
$link .= $key . '="' . $value . '" ';
}
$link = trim($link);
$link .= '>' . "\n";
}
$this->tpl->addGlobal('meta', $meta . "\n" . $link);
$this->tpl->addGlobal('metaCustom', $this->getMetaCustom());
}