{%- import '@alfredoramos_seometadata/metatag.html' as seo_metadata -%}
{% for CATEGORIES in SEO_METADATA %}
{% for ITEM in attribute(CATEGORIES, CATEGORIES.NAME) %}
{% if CATEGORIES.NAME is same as('JSON_LD') %}
{% if S_TOPIC_ID > 0 %}
<script type="application/ld+json">
{{ ITEM.CONTENT }}
</script>
{% endif %}
{% else %}
{{ seo_metadata.metatag(ITEM.PROPERTY, ITEM.CONTENT) -}}
{% endif %}
{% endfor %}
{% endfor %}
