leogout / SeoBundle

A Symfony bundle to generate SEO meta tags.
38 stars 16 forks source link

structure of SEO #10

Closed zorg-iris closed 4 years ago

zorg-iris commented 5 years ago

Hi would it be possible to consider adding your structure to hand this variable :

http-equiv:
        'Content-Type':         text/html; charset=utf-8
        'X-Ua-Compatible':      IE=EmulateIE7
charset:
        UTF-8:    ''
head:
        "dir" : ltr
        'xmlns':              http://www.w3.org/1999/xhtml
        'xmlns:og':           http://opengraphprotocol.org/schema/

and maybe to get separatly "attributes" ?

<html  {{ leogout_seo_html_attributes()  }}>
       <head {{ leogout_seo_head_attributes() }} >
            {{ leogout_seo() }}
       </head>
</html>

Tank for your help

pszalko commented 5 years ago

As a user of this bundle I would prefer to stick only to SEO meta tags and not mix all other meta tags and attributes.

It will be easier to maintain your code when this library is focused only on SEO.

leogout commented 4 years ago

Hello, thank you both for your input and suggestions. I agree with @pszalko, also I don't use Symfony anymore so I won't be able to upate anything this critical without risking a headache... I'll close this one.