Phalcon\Tag addition

I wrote this for my own use, but i think that the meta keyword and description should be handled by Phalcon\Tag to. There is what i use atm: https://gist.github.com/johnnyajax/9594aab026a9a2d62451#file-gistfile1-php

P.S. google love this info.



81.2k
edited Mar '14

I think there are quite of posibilities for metas to implement each one as a method in Phalcon\Tag. In 1.1.0 you can use the generic HTML generator:

<?= Tag::tagHtml('meta', ['name' => 'description', 'content' => 'mycontent']) ?>