Hi,
I am using a common view for all my pages. I would like to know how to set dynamic meta descriptions for each page? via the controller. This is how i do it for meta titles.
View
<html>
<head>
<?php echo \Phalcon\Tag::getTitle() ?>
<?php $this->assets->outputCss() ?>
</head>
Controller
\Phalcon\Tag::setTitle('This is my title');
I realized that that is no setDescription in the tag class. What is the recommended and elegant way of doing it?