8 lines
299 B
HTML
8 lines
299 B
HTML
{%- if metatags -%}
|
|
{%- for name in metatags %}
|
|
{%- set content = metatags.get(name, '') -%}
|
|
{%- if content -%}
|
|
<meta {% if name.startswith('og:') %}property="{{ name }}" {% else %}name="{{ name }}"{% endif %} content="{{ content | striptags | escape }}">
|
|
{%- endif -%}
|
|
{%- endfor -%}
|
|
{%- endif -%}
|