Hello,

I like to have other meta tags with <meta name="description">. In the admin form, I'm putting meta tags in HTML instead of just the description for name="description" tag and I'm using autoescape off to stop html escaping in the template.

This is how the meta tag section looks like in my product/product.html template.

{% if product.meta %}
{% autoescape off %}
{{product.meta}}
{% endautoescape %}
{% endif %}


This is how it was before.
{% if product.meta %}
   <meta name="description" content="{{product.meta}}">
{% endif %}

This is what I put in the "Meta Description" form for the product (just an example)
<meta name="description" content="cute little chocolate dog">
<meta name="keywords" content="chocolate,little,dog">

It works but is this the right way to do it?

Thanks!

--
You received this message because you are subscribed to the Google Groups "Satchmo 
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to