Skip to content

Commit

Permalink
Add Og:image absolute URL
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed May 8, 2023
1 parent ff588d7 commit 2be5263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/templates/page/page_default.html.twig
Expand Up @@ -48,7 +48,7 @@
{% else %}
{% set generated_image = open_graph_image_generated_path(page) %}
{% if generated_image is not null %}
<meta name="og:image" content="{{ open_graph_image_generated_path(page) }}">
<meta name="og:image" content="{{ apps.get().baseUrl|default('') }}{{ open_graph_image_generated_path(page) }}">
{% endif %}
{% endif %}
<script>const base = "{{ page('homepage') }}"</script>
Expand Down

0 comments on commit 2be5263

Please sign in to comment.