]> Raphaël G. Git Repositories - airbundle/commitdiff
Hardcode facebook namespace prefixes
authorRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 12:44:07 +0000 (14:44 +0200)
committerRaphaël Gertz <git@rapsys.eu>
Thu, 13 Oct 2022 12:44:07 +0000 (14:44 +0200)
Resources/views/base.html.twig

index e4fb0a2b703b8696dbbe2de0691aaf8a57033008..0b2f1e9444d5dd5dacc4a186b4bb15407d41f719 100644 (file)
@@ -1,6 +1,6 @@
 <!DOCTYPE html>
 <html{% if locale is defined and locale %} lang="{{ locale }}"{% endif %}>
-       <head{% if facebook is defined and facebook and facebook['prefixes'] is defined and facebook['prefixes'] %} prefix="{{ facebook['prefixes']|map((value, key) => "#{key}: #{value}")|join(' ') }}"{% endif %}>
+       <head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
                {% block metas %}<meta charset="UTF-8">{% endblock %}
                <title>{% block title %}Welcome!{% endblock %}</title>
                {% block stylesheets %}{% endblock %}